Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/areafiftylan/lancie-admin
https://github.com/areafiftylan/lancie-admin
docker frontend polymer yarn
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/areafiftylan/lancie-admin
- Owner: AreaFiftyLAN
- License: mit
- Created: 2017-01-09T15:35:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-08T18:10:17.000Z (almost 3 years ago)
- Last Synced: 2024-03-26T08:47:53.585Z (10 months ago)
- Topics: docker, frontend, polymer, yarn
- Language: HTML
- Size: 633 KB
- Stars: 0
- Watchers: 9
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Docker Repository on Quay](https://quay.io/repository/areafiftylan/lancie-admin/status "Docker Repository on Quay")](https://quay.io/repository/areafiftylan/lancie-admin) [![Build Status](https://travis-ci.org/AreaFiftyLAN/lancie-admin.svg?branch=master)](https://travis-ci.org/AreaFiftyLAN/lancie-admin)
# \Admin panel for the LANcie API
## Install Dependencies
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.
Secondly, openssl uses a few files to increase randomness. These files must be present on the system. `touch /var/log/mail && touch /var/log/messages
` will allow you to run the next commands.Last, add yarn and dependencies:
```
yarn
yarn global add bower
```## Viewing Your Application
If you are trying to run the application for the first time, first run:
```
$ bower install
```After that you can use the following command to run the application locally:
```
$ yarn serve
```## Building Your Application
```
$ polymer build
```This will create a `build/` folder with `bundled/` and `unbundled/` sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.You can serve the built versions by giving `polymer serve` a folder to serve
from:```
$ polymer serve build/bundled
```## Building with Docker
To build the application with docker, issue the following command:
```
docker build -t lancie-admin .
```To run the container:
```
docker run -p 8080:80 lancie-admin:latest
```You can now view the admin page on `localhost:8080`,
## Running Tests
```
$ polymer test
```Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.