This project is generated with yo angular generator version 0.11.1.
Follow steps to set up dependencies: https://github.com/yeoman/generator-angular
Need to have npm installed
1. npm install
2. bower install
Run grunt
for building and grunt serve
for preview.
- compass binaries not found -- try gem uninstall compass then gem install compass
- if it ask for sudo then, run
sudo chown -R $(whoami) ~/.npm
,sudo chown -R $(whoami) /usr/local/lib/node_modules
- If you have this problem:
Stack trace:
Error: EACCES,
Run:
sudo bower install --allow-root
Running grunt test
will run the unit test
Running grunt serve
will serve the application, autoreload on. Runs on http://localhost:9000
- Switch to a different BRANCH-NAME
- Run "grunt build" and remove "dist" from .gitignore.
- Commit changes
- Run "git push heroku BRANCH-NAME:master"