Using grunt for running and building the app:
install nodejs (see nodejs.org for binaries)
cd to project dir and do:
npm install -g grunt
npm install -g grunt-cli
npm install -g bower
npm install
bower install
run the app with grunt server
build the app with grunt build
. This minifies and concatenates resources and copies them to the /dist
directory.
deployment
sudo usermod -a -G www-data <username>
grunt deploy
with optional environment value of 'test' (default) or 'prod': grunt deploy --env=<environment>
unit testing
e2e testing
npm install -g protractor webdriver-manager update
webdriver-manager start grunt server (if not already running) protractor protractor.js