Find a place for lunch
copy app/scripts/constants.js.dist to app/scripts/constants.js and fill CLIENT_ID and CLIENT_SECRET.
grunt server
and open http://localhost:9000
Run:
In separate terminal instances run one command:
grunt server
grunt selenium
grunt e2e
Requirements
- SDK for your desired platform
- npm install -g phonegap cordova
iOS specific:
- npm install -g ios-sim ios-deploy
npm run build
which is the same as:
grunt phonegap:build
cp cordova-config.xml www/config.xml
cordova build ios
You can run the app on your iPhone or on a Simulator. You can either do it from your Terminal or through Xcode:
- Xcode:
open platforms/ios/Mealshaker.xcodeproj/
- Terminal:
cordova emulate ios
In case you have some kind of cache-related problems in you Xcode try cleaning the project (⌘ + ⇧ + K
).