The current build can be found at https://st-team5.github.io/LiveBetterClient/.
- Install Node.js, if necessary.
- Open a terminal.
- Install yeoman globally:
npm install -g yo
- Install grunt globally:
npm install -g grunt grunt-cli
cd
to the directory of this project- Run
npm install
in the directory of this project to install all dependencies.
Run grunt serve
in a terminal
Now open http://localhost:9000/. Grunt will automatically watch for changes, so you just need to save your files and the server will reload.
- Verify that everything is OK. Commit and push all your changes.
- Run
grunt buildcontrol:pages
. It will automatically push the changes to GitHub pages. - Open https://st-team5.github.io/LiveBetterClient/ to verify that everything is OK there as well.
Just run grunt
with no arguments. After a few seconds, the build output will be in dist/
.
Run grunt test
. The test will run PhantomJS using Karma.