View on GitHub

ngPhonegap

Download this project as a .zip file Download this project as a tar.gz file

Build

  1. Install NodeJS: http://nodejs.org/
  2. Check to see if npm was installed: npm -v
  3. Install sass: npm install sass -g
  4. Install compass: npm install compass -g
  5. Install phantomjs: npm install phantomjs -g
  6. Install bower: npm install bower -g
  7. Install grunt-cli: npm install grunt-cli -g
  8. Install all dependencies: npm install [sudo]
  9. Install all JS libraries: bower install
  10. Build code
    • Dev build: grunt dev
    • Prod build: grunt prod
  11. Phonegap
    • npm install -g phonegap
    • phonegap platform add ios

Unit and E2E Tests

  1. Get a standalone Selenium server.
  2. Run the server: java -jar selenium-server-standalone-2.44.0.jar
  3. Run the tests: grunt tests

Run

  1. phonegap run ios -e