This project is for every ionite who wants to play with Ionic's Source
If you want to colaborate with this project, check out our first milestone 1.0.0-beta.1
To run this project, first lets clone it
git clone [email protected]:ionicbrazil/ionic-garden
Install dependencies
npm install -d
bower install
Run the project on your browser
ionic serve
Access localhost:8100
, and check out your new cool project running :)
Here begin Ionic Garden benefits.
You can load a specific version of Ionic by using ionic
parameter
in the URL and put nightly
, 'local' or any ionic version
Like this:
localhost:8100?ionic=1.0.0-rc.4
It'll load Ionic from //code.ionicframework.com/1.0.0-rc.4/js/ionic.bundle.min.js
You can choose a version at code.ionicframework.com, if not used, it will load 'local' by default
It doesn't work with ionic serve --lab
yet
Open js
and scss
folder of ./modules/ionic/
and change Ionic source, ionic serve
will run gulp bundle
inside ionic source, and it will reload in your browser.
To load this source in your browser, remember to use ?ionic=build
in the URL
We recomend you to use this Angular Code Style, it was created by a bunch of experienced angular developers, well, we recomend it. Feel free to adapt this Style Guide to attend your necessities
Source modules is used to clone modules source code from GitHub, these sources are listed in ionic.project
like this:
"sourceModules": {
"ionic": "[email protected]:driftyco/ionic.git",
"ng-cordova": "[email protected]:driftyco/ng-cordova.git"
}
Checkout our default ionic.project
file
sourceModules
right now, only works with ionic source, but ng-cordova will be added soon