ionic setup

2
Steps to setup ionic framework Install Ionic on ubuntu. 1. First, install Node.js 4 (Node 5 does not work at the moment!). Then, install the latest Cordova and Ionic command-line tools. Follow the Android and iOS platform guides to install required platform dependencies. -->> $ npm install -g cordova ionic 2. Change Permission for .config ...{You must change} -->> $ sudo chmod -R 777 /home/daffodil-28/.config NOTE: "/home/daffodil-28/" must be your system Path. 3. Then Build your app -->> $ ionic build android/ios 4. Then Run you android/ios app -->> $ ionic run android/ios 5. Then Emulate the project -->> $ ionic emulate android 6.Run your project with "ionic serve" command -->> $ ionic serve 7.Then Select where you want to run your setup. 1) 1XX.XX.X.XX (eth0){ Your Ip address} 2) localhost Address Selection: 1XX.XX.X.XX Selected address: 1XX.XX.X.XX/localhost Running live reload server: undefined Watching: 0=www/**/*, 1=!www/lib/**/* Running dev server: http://1XX.XX.X.XX:8100 Ionic server commands, enter: restart or r to restart the client app from the root

Upload: shubham-verma

Post on 09-Feb-2017

10 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Ionic setup

Steps to setup ionic framework

Install Ionic on ubuntu.

1. First, install Node.js 4 (Node 5 does not work at the moment!).Then, install the latest Cordova and Ionic command-line tools.Follow the Android and iOS platform guides to install required platform dependen-

cies.

-->> $ npm install -g cordova ionic

2. Change Permission for .config ...{You must change}

-->> $ sudo chmod -R 777 /home/daffodil-28/.config

NOTE: "/home/daffodil-28/" must be your system Path.

3. Then Build your app -->> $ ionic build android/ios 4. Then Run you android/ios app-->> $ ionic run android/ios

5. Then Emulate the project-->> $ ionic emulate android

6.Run your project with "ionic serve" command -->> $ ionic serve 7.Then Select where you want to run your setup. 1) 1XX.XX.X.XX (eth0){ Your Ip address} 2) localhostAddress Selection: 1XX.XX.X.XXSelected address: 1XX.XX.X.XX/localhost

Running live reload server: undefinedWatching: 0=www/**/*, 1=!www/lib/**/*Running dev server: http://1XX.XX.X.XX:8100Ionic server commands, enter: restart or r to restart the client app from the root goto or g and a url to have the app navigate to the given url consolelogs or c to enable/disable console log output serverlogs or s to enable/disable server log output quit or q to shutdown the server and exit

ionic $