Data site for the World Health Organization Outbreak and Crisis Response (OCR).
Install dependencies: npm install && bower install
Test Server: grunt server
Build: grunt build
master branch will contain production files. gh-pages will mirror the dist/ folder. Branch from master to do development. Pull request into master. Then build and push new /dist folder to master before pushing to gh-pages.
-
Work in
app/folder. -
If new file created, ensure it is captured in
grunt.js -
To run locally, run
grunt server. Site will run onlocalhost:9000. -
To build the site, run
grunt build. This will update thedist/folder. Ensure that grunt.js has copied all site files. -
Push changes to branch: both
app/anddist/. -
Run
git subtree push --prefix dist origin gh-pagesto pushdist/files togh-pagesbranch.