But if you want to test your app on emulator/real device, keep moving. If you are ok with web view of your app, then you’re done. quit or q to shutdown the server and exit.serverlogs or s to enable/disable server log output.consolelogs or c to enable/disable console log output.goto or g and a url to have the app navigate to the given url.restart or r to restart the client app from the root.While app is running, you can use following commands to do specific tasks needed: Go to your project root and run: ionic serve Delete the /usr/lib/node_modules (/usr/local/lib/node_modules) folder.If you get Error: Cannot find module ‘xmlbuilder’, follow this step: Now, its the time to create a new Cordova project: ionic start todo blank Now lets create a brand new app! Create the project: If you’ve come this far, you’ve successfully installed Ionic on your system. To install it, simply run: sudo npm install -g ionic Ionic comes with a convenient command line utility to start, build, and package Ionic apps. You can use the following packages instead: sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 Install Ionic: If you are on Ubuntu 13.04 or greater, ia32-libs has been removed. If you are running a 64-bit version of Ubuntu, you’ll need to install the 32-bit libraries since Android is only 32-bit at the moment. To compile and install native addons from npm you may also need to install build tools: (optional) sudo apt-get install -y build-essential Install cordova:Īfter successful nodejs installation, now you need to install cordova to access cordova library when you need them. Now run following commands: curl -sL | sudo -E bash - sudo apt-get install -y nodejs If you don’t have cURL installed, install it first: sudo apt-get install php5-curl This guide is intentionally made precise rather explaining much stuffs. Following step by step guide shows what to do to install ionic so that you can build your brand new ionic app right away. To install Cordova, make sure you have Node.js installed. As Ionic depends on cordova, you need to install it first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |