bundle install
rake db:create
rake db:setup
spring rails server
cd public/ng
npm install
sudo bower -g install
sudo npm install -g gulp
gulp serve
sudo npm install -g cordova
sudo npm install -g ionic
ionic platform ios
cordova plugin add https://github.com/phonegap-build/PushPlugin.git
cordova plugin add com.ionic.keyboard
cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.network-information
cordova plugin add org.apache.cordova.splashscreen
cordova plugin add org.apache.cordova.statusbar
cordova plugin add org.apache.cordova.console
Using the ios-simulator - be sure to run sudo npm install -g cordova ios-sim
first:
gulp build --ios --run
gem install cucumber
Run all: bundle exec cucumber
Run specific file: bundle exec cucumber features/feature_name.feature
Run specific scenario: bundle exec cucumber features/feature_name.feature:5
cd public/ng && gulp build && cd ../ && cp -rf ng/www/* ./
- git commit -a
- cap production deploy
To generate the API Documentation:
rake swagger:docs
This creates a self-contained directory within public/
with the generated documentation.
$ cd public/ng $ gulp build --ios
$ gulp build --android
On a native device you are getting the error: "deviceready not fired for 5 seconds"
- This could mean that you compiled the code with old libraries. Update your cordova, phonegap and ionic.
$ sudo npm update cordova -g $ sudo npm update phonegap -g $ sudo npm update ionic -g
- You are not seeing your changes in your TestFlight build
You probably didn't build the new scripts. Build your TF using gulp and NOT using the ionic build ios
command
- You are seeing "no valid 'aps-environment'" error
You aren't using the correct provisioning profile. You need one with push notifications enabled.
These are native notifications what will be received by users who use the native application. When a user logs in, their profile is updated with their device id. When it is time for the reminders to be sent out, if their profile has a device id, it will use this service.
These will be received by users who are not using a native device. If a user logs in to a non native device, their device id will be cleared if it exists. When the reminders are sent out, they will be received in the form of a SMS.
The current account is a test account for sending SMS messages. This means that all phone numbers must be verified before they can receive SMS messages from Twilio.
You can add and verify new numbers here: http://twilio.com/user/account/phone-numbers/verified
email: [email protected] password: EOVbBKl)}7VEMD4&
(437) 800-0269