Go to http://nodejs.org/en
Download the npm
Install the npm
Go to terminal and type the following command in order to test the installation
$ npm version
Now, type in the terminal the following commands in order to install cordova and ionic
$ sudo su (probably you will need to type your password)
$ npm install -g cordova ionic
$ npm install -g bower
$ npm install -g ios-sim
$ exit
$ ionic version (if a popup shows up asking for installing something, say yes)
if you already have an ionic project, go to the folder project, or create a new project:
$ ionic start myApp tabs
Go to the folder project and run these commands:
$ bower update
$ npm install
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
That's it :)
Adriano Schmidt
sábado, 16 de julho de 2016
Assinar:
Postar comentários (Atom)
Nenhum comentário:
Postar um comentário