Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
WullT committed Jan 20, 2022
1 parent 8e206d8 commit 075094f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Consists of [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/
git clone https://github.com/WullT/TGIBackend.git
```

- Install Docker and Docker-Compose
- Install Docker and Docker-Compose (this may take a while)
```sh
sh ~/TGIBackend/scripts/install_docker_and_dc.sh
```
Expand Down Expand Up @@ -51,7 +51,7 @@ Consists of [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/
`[[inputs.mqtt_consumer]]`(first)|password|TTN MQTT Integration password (API Key)
`[[inputs.mqtt_consumer]]`(second)|username|Local MQTT ruser username (choose one)
`[[inputs.mqtt_consumer]]`(second)|password|Local MQTT ruser password (choose one)

- Reboot
- Run the applications
```sh
cd ~/TGIBackend/docker
Expand All @@ -75,5 +75,16 @@ Consists of [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/

## Setup Grafana

- Open a webbrowser and go to `http://<your-backend-host-ip>:3000`
- Login with your Grafana admin credentials
- Go to Configuration &rarr; Data sources &rarr; Add data source
- Select InfluxDB
- Set `URL` to `http://influxdb:8086`
- In the section *InfluxDB Details*, enter the database name (`INFLUXDB_DB`) and the credentials for InfluxDB Read User (`INFLUXDB_READ_USER`, `INFLUXDB_READ_USER_PASSWORD`)
- Click *Save & test*






0 comments on commit 075094f

Please sign in to comment.