Clone this repository and move in
$ git clone --recurse-submodule https://github.com/kiotlog/kiotlog
$ cd kiotlog
Use provided docker-compose.yml
to build Kiotlog microservices Docker images:
$ docker-compose build
In order to run the Kiotlog platform, you need at least pre-configured instances for PostgreSQL (both for devices/sensors catalog and data points timeseries) and EMQ (for MQTT and MQTT-SN). The Dockerfiles repository contains base configurations and Dockerfiles for building and deploying PostgreSQL with preloaded Kiotlog DB schema, EMQ with pre-configured MQTT-SN plugin, and other services (Grafana, Node-Red, InfluxDB).
-
Build Kiotlog microservices as per previous paragraphs.
-
Change to upper directory and pull Kiotlog Dockerfiles.
$ cd .. $ git clone https://github.com/kiotlog/dockerfiles $ cd dockerfiles
-
Follow istructions at Dockerfiles/Readme.md to create the Kiotlog deploying environment.
-
Run Kiotlog platform
$ docker-compose -f docker-compose.local.yml up -d $ docker-compose logs -f
-
Platform will start receiving data from Kiotlog test devices via The Things Network.
-
Connect to Local Grafana and create your dashboard or import the demo dashboard provided at Dockerfiles/grafana/Kiotlog Demo.json.
Please, go to Wiki.