We recommend using the ionic
utility to create new Ionic projects that are based on this project but use a ready-made starter template.
For example, to start a new Ionic project with the default tabs interface, make sure the ionic
utility is installed:
$ sudo npm install -g ionic
Then run:
$ sudo npm install -g ionic
$ ionic start myProject tabs
More info on this can be found on the Ionic Getting Started page.
To use this project as is, first clone the repo from GitHub, then run:
$ cd ionic-app-base
$ sudo npm install -g cordova ionic gulp
$ npm install
$ gulp install
To update to a new version of Ionic, open bower.json and change the version listed there.
For example, to update from version 1.0.0-beta.4
to 1.0.0-beta.5
, open bower.json and change this:
"ionic": "driftyco/ionic-bower#1.0.0-beta.4"
To this:
"ionic": "driftyco/ionic-bower#1.0.0-beta.5"
After saving the update to bower.json file, run gulp install
.
Alternatively, install bower globally with npm install -g bower
and run bower install
.
Issues have been disabled on this repo, if you do find an issue or have a question consider posting it on the Ionic Forum. Or else if there is truly an error, follow our guidelines for submitting an issue to the main Ionic repository. On the other hand, pull requests are welcome here!