Install the CLI tools:
npm install -g grunt-cli bower karma protractor
To install the project template, run the following commands:
- Install NPM modules:
npm install
- Install Bower components:
bower install
- For rapid development and prototyping:
grunt watch
. This creates a folder_build
. - then, open your browser on
http://localhost:9000/
- To compile the project for production:
grunt production
. - This creates a folder
_production
with all the javascript, html and CSS minified. - Karma unit tests are run.
This project template is adapted from ngbp and extended by Antonio Aguilar, 2015.