-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[enh] ES network: add a view to monitor Cesium+ pod network
- Loading branch information
Showing
41 changed files
with
2,805 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ To build Cesium, you will have to: | |
|
||
- Installing build tools: | ||
``` | ||
sudo apt-get install build-essential | ||
sudo apt-get install git wget curl unzip build-essential software-properties-common ruby ruby-dev ruby-ffi gcc make | ||
``` | ||
|
||
- Installing [nvm](https://github.com/nvm-sh/nvm) | ||
|
@@ -18,14 +18,14 @@ If you are using fish shell, there is a [dedicated plugin](https://github.com/jo | |
|
||
> Then reload your terminal, for instance by executing the commande `bash` | ||
- Configure NodeJS to use a version 6: (**WARNING**: upper version will NOT work !) | ||
- Configure NodeJS to use a version 10: (**WARNING**: upper version will NOT work !) | ||
``` | ||
nvm install 6 | ||
nvm install 10 | ||
``` | ||
- Installing node.js build tools: | ||
- Installing node.js build tools, as global dependencies: | ||
``` | ||
npm install -g yarn gulp cordova@9.0.0 ionic@1.7.16 | ||
npm install -g yarn gulp cordova ionic | ||
``` | ||
|
||
## Get the source code and dependencies | ||
|
@@ -40,7 +40,6 @@ If you are using fish shell, there is a [dedicated plugin](https://github.com/jo | |
- Installing Cordova plugins (need for platforms specific builds) | ||
``` | ||
ionic state restore | ||
ionic browser add [email protected] | ||
``` | ||
|
||
- This should create a new directory `platforms/android` | ||
|
@@ -66,10 +65,10 @@ If you are using fish shell, there is a [dedicated plugin](https://github.com/jo | |
- Compiling and running Cesium: | ||
``` | ||
ionic serve | ||
npm start | ||
``` | ||
|
||
> or alternative: `ionic serve` | ||
> or alternative: `yarn run start` or `ionic serve` | ||
- Open a web browser at address: [localhost:8100](http://localhost:8100). The application should be running. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ | |
"url": "[email protected]:clients/cesium/cesium.git" | ||
}, | ||
"scripts": { | ||
"clean": "trash www/dist/** platforms/web platforms/**/*.apk platforms/desktop/**/*.deb", | ||
"postinstall": "node -e \"try { require('fs').symlinkSync(require('path').resolve('node_modules/@bower_components'), 'www/lib', 'junction') } catch (e) { }\" && rm -f hooks/minify-conf.json hooks/uglify-config.json hooks/after_prepare/ionic-minify.js hooks/after_prepare/uglify.js", | ||
"clean": "trash www/dist/** dist/web/* dist/desktop/**/*.deb platforms/android/**/*.apk", | ||
"postinstall": "node -e \"try { require('fs').symlinkSync(require('path').resolve('node_modules/@bower_components'), 'www/lib', 'junction') } catch (e) { }\" && rm -f hooks/uglify-config.json hooks/after_prepare/uglify.js", | ||
"install-platforms": "ionic cordova prepare", | ||
"start": "ionic serve", | ||
"docker:build": "sudo docker build . -t cesium/release", | ||
|
@@ -182,7 +182,9 @@ | |
], | ||
"cordova": { | ||
"plugins": { | ||
"cordova-plugin-camera": {}, | ||
"cordova-plugin-camera": { | ||
"CAMERA_USAGE_DESCRIPTION": "Add picture to the user profile", | ||
"PHOTOLIBRARY_USAGE_DESCRIPTION": "Take a picture for the user profile"}, | ||
"cordova-plugin-console": {}, | ||
"cordova-plugin-device": {}, | ||
"cordova-plugin-dialogs": {}, | ||
|
@@ -200,7 +202,9 @@ | |
}, | ||
"ionic-plugin-keyboard": {}, | ||
"cordova-clipboard": {}, | ||
"cordova-plugin-ionic-webview": {} | ||
"cordova-plugin-ionic-webview": { | ||
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" | ||
} | ||
}, | ||
"platforms": [ | ||
"ios", | ||
|
@@ -211,4 +215,4 @@ | |
"engines": { | ||
"yarn": ">= 1.0.0" | ||
} | ||
} | ||
} |
Oops, something went wrong.