Admin panel for the LANcie API
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
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:
$ polymer serve
$ 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
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
,
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.