Ionic based apps for server monitoring using sensu api, support for push notification using google cloud messaging & onesignal api
- install nodejs
- install ionic framework ( npm install -g ionic)
- install gulp ( npm install -g ionic )
- clone repo ( git clone https://github.com/nsulistiyawan/sensu-monitoring-app.git ) cd sensu-monitoring-app
- install all dependencies ( npm install, bower install )
- gulp watch
- changing YOUR_SENSU_URL_BASE_API, ( ONE_SIGNAL_APP_ID, GOOGLE_PROJECT_NUMBER is optional ) on www/js/app.js
- wait until gulp task for minify and concat js is running
- run ionic serve / ionic serve --lab, open http://localhost:8100
-
install Apache Cordova (npm install -g cordova)
-
install Java Development Kit (JDK)
-
install Apache Ant
-
install Android SDK
-
adding Android SDK Path, Node Path
export PATH="$HOME/your_node_path/bin:$PATH" export PATH="/opt/your_android_sdk_path/tools:$PATH" export PATH="/opt/your_android_sdk_path:$PATH" export ANDROID_HOME="/your_android_sdk_path:$PATH"
-
Save code above on ~/.profile file. So it will be saved on next reboot
-
follow instruction at http://ionicframework.com/docs/guide/publishing.html