The porject include docker compose configs for quick setup Inspark IoT platform.
The project is launching the platform exclusively for test purposes for brief acquaintance. Some modules require a license, which must be obtained upon request. (www.inspark.ru)
Clone Inspark Platform's repo in your terminal with the following command:
git clone https://github.com/inspark/inspark-docker.git
Once that command completes successfully, you should see a new inspark-docker folder in your current directory.
Navigate to the folder you created in step 1:
cd inspark-docker
copy the license to the folder ./docker/inspark-license.lic
When working on master branch, run the following commands to run development mode using docker compose:
docker compose up -d
You can access Inspark now via your web browser by visiting http://localhost:6969. Note that many browsers now default to https - if yours is one of them, please make sure it uses http.
Log in with the default username and password:
username: root
password: masterkey
A controller emulator is needed if you want to test and visually see the capability of the controller, without equipment itself. In the Inspark-docker directory there is the emulator script, called controller-emulator.sh
This script can be launched using the following command:
bash ./controller-emulator.sh <Serial number> <Host ip>
- Where
bash ./controller-emulator.shis command itself. <Serial number>- Serial number of the controller. Get it by youself, in the future you will need it in order to create a controller in your Inspark Platform instance(IPI).<Host ip>- ip address of the host where the Inspark Platform instance is located, to which we will add the controller.
At this point controller emulator is fully setup and ready to be use in IPI!