YO! This app was scaffolded out using this Yeoman generator.
Follow these steps to get the mobile app to run in your emulator:
- Clone down your fork of the repo
- Run
npm install
- Run
bower install
- Run
npm install -g cordova ionic
- Run
npm -g install ios-sim
- Run
gem update --system
- Run
gem install compass
- Run
grunt build:ios --device --release
- Run
grunt platform:add:ios
- Run
grunt build:ios --device --release
AGAIN (don't ask me why) - Run
grunt emulate:ios --livereload
If during the grunt pocesses you get this error: "Error: Hook failed with error code 127", then go follow the instructions on this site to fix it (may require fixes to multiple files).
Follow these steps:
- Make sure you have MySql installed. If not, run
brew install mysql
- Start your MySql server with
mysql.server start
- Log into your mysql instance with
mysql -u root -p
and leave the password blank. - Run
CREATE DATABASE pickupDB;
inside mysql. - Exit MySql.
- Go back into the project folder then do
cd server
- Run
nodemon server.js
- Deploy to herku
- Add-on clearDB MySql database, follow this instructions