This project was generated with Generator-M-Ionic v1.5.0. The sole author of this code is M. Gonzalez.
Development:
Besides simply installing everything, I recommend having or obtaining a fair knowledge of the technologies, so you can understand what you are doing.
In order to compile and install the app on a device you need the following dependencies, please install before proceeding.
npm install --global gulp
- http://gulpjs.com/npm install --global bower
- http://bower.io/cd socialOrder # Install into a directory
git clone https://github.com/GonzOne/socialOrder.git
npm install # install node packages
bower install # install bower packages
gulp --cordova 'prepare' # install Cordova platforms and plugins
gulp watch
# add --no-open to avoid browser opening
gulp
In order to run the app on a device, you'll need Platform SDKs for the platforms and the versions you are developing for. If you just want to develop in the browser for now, no SDKs are needed. Head over to Cordova Documentation: Platform Guides or Cordova CLI: Requirements for further instructions.
You don't have to install the Cordova CLI. It's provided with the generator. The installer installs the Cordova CLI locally (not globally).
# both implicitly run gulp build which builds the Ionic app into www/
gulp --cordova 'run ios --device'
gulp --cordova 'emulate ios'
# run the version currently in the www/ folder, without a new build
gulp --cordova 'run ios --device' --no-build
# build Options
gulp --cordova 'run ios --device' --minify --force-build
# Use specific target (e.g. iPhone-6)
gulp --cordova 'emulate ios --target=iPhone-6'
# to list available targets on your machine, run:
`./platforms/ios/cordova/lib/list-emulator-images`
# these will need to be installed in Xcode before ready to use
Contact Manuel Gonzalez @ design@stheory.com.
Do the following:
Code licensed under MIT. Docs under Apache 2. PhoneGap is a trademark of Adobe.