Skip to content

Commit

Permalink
[enh] ES network: add a view to monitor Cesium+ pod network
Browse files Browse the repository at this point in the history
  • Loading branch information
blavenie committed Jan 3, 2020
1 parent 7677172 commit 74322da
Show file tree
Hide file tree
Showing 41 changed files with 2,805 additions and 305 deletions.
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@
/package-lock.json
/yarn-error.log

/dist/web
/dist/android

/dist/*
!/dist/desktop

/hooks/playstore-config.json
/hooks/minify-conf.json
/hooks/uglify-config.json
/hooks/after_prepare/ionic-minify.js
/hooks/after_prepare/uglify.js

/www/js/config.js
Expand Down
15 changes: 7 additions & 8 deletions doc/development_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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`
Expand All @@ -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.

Expand Down
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {},
Expand All @@ -200,7 +202,9 @@
},
"ionic-plugin-keyboard": {},
"cordova-clipboard": {},
"cordova-plugin-ionic-webview": {}
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
}
},
"platforms": [
"ios",
Expand All @@ -211,4 +215,4 @@
"engines": {
"yarn": ">= 1.0.0"
}
}
}
Loading

0 comments on commit 74322da

Please sign in to comment.