Follow the instructions below to start the SNAPSHOT version of StreamPipes:
Prerequisites
Install:
- Docker + Docker-Compose
- git
Set-Up StreamPipes
Use the git bash and execute the following commands:
Clone Installer [Link]
Prepare Installer# SSH git clone git@github.com:apache/incubator-streampipes-installer.git # HTTPS git clone https://github.com/apache/incubator-streampipes-installer.git # switch to development branch git checkout dev
Open CLI directory
Prepare Installercd incubator-streampipes-installer cd cli
Configure StreamPipes for UI development
Prepare Installer./sp set-template lite # Updates the file 'system'. # To run all algorithms run './sp set-template full'
Common errors on Windows
Error:
ErrorINFO] Starting StreamPipes [INFO] StreamPipes network already exists. Continuing .OSError: [Errno 22] Invalid argument: 'C:/StreamPipes/incubator-streampipes-installer/cli/services/activemq\r/docker-compose.yml' [ERROR] Error occured while executing the StreamPipes command.
- Solution: Open the file 'system' with Notepad++ and change the line ending on the bottom right from Windows to Linux
Error:
ErrorERROR: for streampipes_influxdb_1 Cannot create container for service influxdb: invalid IP address in add-host: ""
- Solution: Open the file .env and check if HOST_DOCKER_INTERNAL is empty. Set it to the IP of Docker (e.g. 192.168.65.2) The docker subnet can be found in the docker settings
Start StreamPipes backend
Prepare Installer# Downloads all docker images and starts StreamPipes ./sp start