http://rensanning.iteye.com/category/305123
precondition : NodeJS v0.10.22, npm v1.3.14, (Mac OS X, xCode for iOS apps)
sudo npm install cordova@3.6.3-0.2.13 -g
sudo npm install ionic@1.2.8 -g
sudo npm install ios-sim@3.0.0 cordova-lib@4.0.0 -g
sudo gem update --system && sudo gem install compass
sudo npm install generator-ionic@0.6.1 -g
sudo npm update -g yo # make sure yo@1.1.2
http://ionicframework.com/getting-started/
https://github.com/diegonetto/generator-ionic
git clone git@github.com:arrking/com.arrking.mobay.git
cd com.arrking.mobay
mkdir {platforms,plugins,www}
npm install
cd com.arrking.mobay
python extras/execute.py install-plugins
grunt platform:add:ios
grunt build:ios
npm install ios-sim cordova-lib -g
export NODE_PATH=/usr/local/lib/node_modules
cd com.arrking.moBay
grunt platform:add:ios
grunt build:ios
open platforms/ios/moBay.xcodeproj
cd com.arrking.mobay
grunt serve
Then, install the app into your device or simulator.