Build
- Install NodeJS:
http://nodejs.org/
- Check to see if npm was installed:
npm -v
- Install sass:
npm install sass -g
- Install compass:
npm install compass -g
- Install phantomjs:
npm install phantomjs -g
- Install bower:
npm install bower -g
- Install grunt-cli:
npm install grunt-cli -g
- Install all dependencies:
npm install [sudo]
- Install all JS libraries:
bower install
- Build code
- Dev build:
grunt dev
- Prod build:
grunt prod
- Phonegap
npm install -g phonegap
phonegap platform add ios
Unit and E2E Tests
Get a standalone Selenium server.
- Run the server:
java -jar selenium-server-standalone-2.44.0.jar
- Run the tests:
grunt tests
Run
phonegap run ios -e