Name: etools-dashboard
Owner: unicef
Description: eTools Frontend Dashboard app
Created: 2016-11-07 19:31:34.0
Updated: 2018-05-02 20:54:55.0
Pushed: 2018-05-24 18:37:34.0
Homepage: null
Size: 3099
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Using git, clone to a local directory:
t clone https://github.com/unicef/etools-dashboard.git
Assuming node and npm are already installed, make sure bower is also installed, if not run:
m install -g bower
Also install polymer-cli:
m install -g polymer-cli
Install packages:
m install
wer install
To build the distribution version:
lp
We will be using a bundled build since we don't support HHTP/2 and server push.
Before the build is created the CSS and images are minified, Javascript is uglifyed, also there are javascript and html hints. If any of these tasks fail, the entire build process fails. So correct your code and try again :)
To run the application you can use:
lymer serve
your app at http://localhost:8080
This command will start the server and serve your files directly from app sources. At this point you do not need to build anything, the files will not be served from build folder.
lymer serve build/bundled
your app at http://localhost:8080
This command will start the server and use the bundled build (build/bundled folder) to serve the files from. Before you can serve the bundled build you have to generate the build files. Service worker only works in the built app, so test service worker functionality here.
Set -l parameter for any gulp task to activate polymer logs during build process
lp -l