Installing pre-requisites:
-
Installing NodeJS and NPM on Ubuntu
-
sudo add-apt-repository ppa:chris-lea/node.js
-
sudo apt-get update
-
sudo apt-get install nodejs
-
Installing Cordova
-
sudo npm install -g cordova
-
Installing Ionic Framework
-
sudo npm install -g ionic
-
For installing Android SDK tools, please refer instructions given here: http://developer.android.com/sdk/installing/index.html
Pre-requisites: NodeJS and NPM, Cordova, Ionic Framework, and Android/iOS SDK
Steps:
-
Checkout the project
-
Building Android app
-
ionic platform add android
-
ionic build android
-
ionic emulate android
-
Building iOS app
-
ionic platform add ios
-
ionic build ios
-
ionic emulate ios