|
@ -21,19 +21,19 @@ $ docker-compose up -d |
|
|
|
|
|
|
|
|
This will create InfluxDB, Chronograf and IoT Dummy Data Generator containers |
|
|
This will create InfluxDB, Chronograf and IoT Dummy Data Generator containers |
|
|
|
|
|
|
|
|
Enter IoT Dummy Data Generator container |
|
|
You can enter IoT Dummy Data Generator container to execute commands with the command below: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
docker exec -ti iot-dummy-data-generator-master_chronograf_1 bash |
|
|
docker exec -ti iot-dummy-data-generator-master_chronograf_1 bash |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
And start the generator (in the iot-dummy-generator folder NOT in the docker above) |
|
|
To start the data generator in a terminal located in the home folder of this project use the following command: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
node index.js |
|
|
node index.js |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Open browser to |
|
|
Afterwards open browser to |
|
|
|
|
|
|
|
|
http://localhost:8888 |
|
|
http://localhost:8888 |
|
|
or if it does not work find the IP from net tools (ifconfig), usually some form of 172.0.... |
|
|
or if it does not work find the IP from net tools (ifconfig), usually some form of 172.0.... |
|
|