SlideShare a Scribd company logo
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
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 $

More Related Content

ionicSetup

  • 1. 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 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 $