Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone Installer [Link]

    Code Block
    languagebash
    titlePrepare 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

    Code Block
    languagebash
    titlePrepare Installer
    cd incubator-streampipes-installer
    cd cli


  3. Configure StreamPipes for UI development

    Code Block
    languagebash
    titlePrepare Installer
    ./spstreampipes env --set-template lite
    # Updates the file 'system'.
    # To run all algorithms run './sp set-template full'



    Info
    titleCommon errors on Windows


    Code Block
    languagebash
    titleError
    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


    Code Block
    languagebash
    titleError
    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

    Code Block
    languagebash
    titlePrepare Installer
    # Downloads all docker images and starts StreamPipes
    ./spstreampipes startup