You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Deployment of this application to an edge device
18
-
19
-
1. you need a BalenaCloud account and your edge device must be running the BalenaOS
20
-
2. clone this github repository
17
+
## How to install this application on an edge device
18
+
This application can easily be installed through following steps:
19
+
1.[Balena Setup](https://www.balena.io/): you need a BalenaCloud account and your edge device must be running the BalenaOs. You also need to create an application in your balena dashboard and associate your edge device to it (see balena documentation).
20
+
2. clone this github repository (this can be done on any device where git is installed) through the following command `git clone https://github.com/janvda/balena-edge-device-monitoring.git` (instead of directly cloning the repository it migh be better to fork the github repository and then clone this forked repository).
21
21
3. Move into this repository by command `cd balena-edge-device-monitoring`
22
-
4.Link this repository to balena
23
-
5. push the repository to balena
22
+
4.Add balena git remote endpoint by running the command `git remote add balena <USERNAME>@git.www.balena.io:<USERNAME>/<APPNAME>.git`
23
+
5. push the repository to balena by the command `git push balena` (maybe you need to add the option `--force` the first time you are deploying).
24
24
25
25
## Updating / Adding new Grafana Dashboards
26
26
@@ -30,4 +30,4 @@ If you want to add a new Grafana dashboard then this can be done through followi
30
30
2. From the settings menu in Grafana UI select `View JSON` and copy the complete json file (**don't use the grafana UI `export` feature** as this will template the datasource and will not work due to that).
31
31
3. Save the json contents you have copied in previous step into a new file in folder `grafana\dashboards` with extension .json (e.g. `mydashboard-02.json`)
32
32
4. Substitute the ID number you can find in that file just after field `"graphTooltip"` by `null`. E.g. ` "id": 1,` should be changed into ` "id": null,`
33
-
5. Commit your changes and push them to Balena Cloud.
33
+
5. Commit your changes in git and push them to your balena git remote endpoint (`git push balena`)
0 commit comments