Added more hints on how to start into the project
This commit is contained in:
parent
b8c1897555
commit
7e73db0fcf
30
README.md
30
README.md
|
@ -1,16 +1,38 @@
|
||||||
# IoT Platform
|
# IoT Platform
|
||||||
|
|
||||||
## Commands
|
## Docker
|
||||||
|
|
||||||
|
First install DockerDesktop and `docker-compose`:
|
||||||
|
* https://www.docker.com/products/docker-desktop/
|
||||||
|
* https://docs.docker.com/compose/install/
|
||||||
|
|
||||||
|
Then you can export a path to mount as a volume and spin up the containers:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export DATA_DIR = /some/path/to/mount
|
export DATA_DIR = /some/path/to/mount
|
||||||
docker-compose --file software/container/docker-compose.yml up
|
docker-compose --file software/container/docker-compose.yml up
|
||||||
```
|
```
|
||||||
|
|
||||||
## Grafana
|
### Grafana
|
||||||
|
|
||||||
Then you can login to Grafana: http://localhost:3000/login (admin:admin)
|
You can login to Grafana: http://localhost:3000/login (admin:admin)
|
||||||
|
|
||||||
## NodeRed
|
### NodeRed
|
||||||
|
|
||||||
NodeRed is running here: http://localhost:1880/
|
NodeRed is running here: http://localhost:1880/
|
||||||
|
|
||||||
|
## Hardware
|
||||||
|
|
||||||
|
### Arduino IDE
|
||||||
|
We are using HelTec Automation Wirelsess Sticks ESP32 Dev-Boards. Their GitHub repo can be found here: https://github.com/HelTecAutomation/Heltec_ESP32
|
||||||
|
|
||||||
|
If you are using _Arduino IDE_ (just to try them out) you can add their Repo to the library managers URLs: https://github.com/HelTecAutomation/Heltec_ESP32/blob/master/library.json and/or find them in the IDE (Sketch -> Include Library -> Manage Libraries... Search for "heltec esp32").
|
||||||
|
|
||||||
|
### Find the port
|
||||||
|
|
||||||
|
```sh
|
||||||
|
esptool.py write_flash_status --non-volatile 0
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue