Skip to content

cometcult/lunch-button

Repository files navigation

lunch-button

Build Status Dependency Status devDependency Status

Find a place for lunch

How to run

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

How to test

Run:

In separate terminal instances run one command:

grunt server
grunt selenium
grunt e2e

Bulding for mobile

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

Running on iOS emulator

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).