- Getting source and installing project dependencies:
- Getting source and installing project dependencies:
```
```
...
@@ -152,6 +148,7 @@ To build Cesium, you will have to:
...
@@ -152,6 +148,7 @@ To build Cesium, you will have to:
cd cesium
cd cesium
npm install
npm install
```
```
- Installing Cordova plugins (need for platforms specific builds)
- Installing Cordova plugins (need for platforms specific builds)
```
```
ionic state restore
ionic state restore
...
@@ -159,7 +156,7 @@ To build Cesium, you will have to:
...
@@ -159,7 +156,7 @@ To build Cesium, you will have to:
```
```
### Build environment
### Prepare environment, then compile and launch
- To configure your build environment :
- To configure your build environment :
...
@@ -171,20 +168,16 @@ To build Cesium, you will have to:
...
@@ -171,20 +168,16 @@ To build Cesium, you will have to:
gulp config --env <your_env_name>
gulp config --env <your_env_name>
```
```
This will update the configuration file used by cesium, at `www/js/config.json`.
> This will update the configuration file used by cesium, at `www/js/config.json`.
### Compile and launch
- Compiling and running Cesium:
- Compiling and running Cesium:
```
```
npm start
npm start
```
```
or
```
> or alternative: `ionic serve`
ionic serve
```
### Best pratices
### Best pratices for development
Cesium could be run on phone devices. Please read [performance tips on AgularJS + Ionic ](http://julienrenaux.fr/2015/08/24/ultimate-angularjs-and-ionic-performance-cheat-sheet/)
Cesium could be run on phone devices. Please read [performance tips on AgularJS + Ionic ](http://julienrenaux.fr/2015/08/24/ultimate-angularjs-and-ionic-performance-cheat-sheet/)