You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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:

  1. 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
  2. Open CLI directory

    Prepare Installer
    cd incubator-streampipes-installer
    cd cli
  3. 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
    INFO]  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
    ERROR: 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


  4. Start StreamPipes backend

    Prepare Installer
    # Downloads all docker images and starts StreamPipes
    ./sp start
  • No labels