Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.3 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.3 KB

dailydiningdilemma

DDD v2

Requirements and steps for building the app

Requirements:

  • nodejs
  • git
  • gulp
  • XCode for ios, android sdk for android
  • Facebook developer account for facebook login

General setup

  1. install nodejs
  2. install git
  3. in git bash: npm install -g gulp
  4. install cordova (you may need sudo for this): npm install -g cordova ionic
  5. cd ddd-app
  6. cordova plugin add org.apache.cordova.device
  7. cordova plugin add org.apache.cordova.console
  8. cordova plugin add com.ionic.keyboard
  9. npm install
  10. gulp profile-mock or gulp profile-production

Steps for running the app within an ios emulator (mac-os only)

  1. ionic platform add ios
  2. ionic build ios
  3. ionic emulate ios

Steps for running the app within an android emulator

  1. ionic platform add android
  2. ionic build android
  3. ionic emulate android

App Development

In order to use the app in a browser you need a running webserver like mongoose. After you created the index.html (see gulp profile-mock or gulp-profile-production) you can access the app via: http://127.0.0.1:8080/dailydiningdilemma/ddd-app/www/ It is very important to use localhost otherwise the login will not work in production mode (origin of callback for oauth must be localhost)