Skip to content

Commit c995d5c

Browse files
authored
Update README.md
1 parent 61b3b69 commit c995d5c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Here below a screenshot of the `system metrics` dashboard that is also provision
1414

1515
![system metrics example](./system_metrics_dashboard.png)
1616

17-
## 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).
2121
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).
2424

2525
## Updating / Adding new Grafana Dashboards
2626

@@ -30,4 +30,4 @@ If you want to add a new Grafana dashboard then this can be done through followi
3030
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).
3131
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`)
3232
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

Comments
 (0)