The Waziup dashboard allows visualize your sensors and applications.
To test the dashboard locally, first rename and change the content of exports.sh:
$ cp exports-template.sh exports.sh
$ vi exports.sh
Install and start:
$ npm install
$ npm start
Dashboard Dockerfile build & deployment:
docker build -t waziup/dashboard .
docker push waziup/dashboard
kubectl delete -f dashboard.yaml
kubectl apply -f dashboard.yaml
after re-deploying dashboard, we need to restart apache (identity proxy) kubectl exec -ti identityproxy-y5h7q --namespace=waziup -- /usr/sbin/httpd -k restart
kubectl exec -ti dashboard-no0lu --namespace=waziup -- bash
The following environment variables can be used:
- REACT_APP_DASHBOARD_IDENTITY: set to false to avoid queries to identity server