Versions Compared

Key

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

...

The code for the UI can be found on GitHub in the UI directory

Prerequisites

Install:

  • NodeJS + NPM (tested with v12+/ v6+)
  • Docker + Docker-Compose
  • You can use the IDE of your choice

...

Set-Up StreamPipes Backend

  1. Clone Installer [Link]

  2. Checkout branch 'dev'
  3. Go to directory 'cli'
  4. RUN './sp set-template ui-dev'
    • This will update the file 'system' and active all StreamPipes services, except the UI
  5. RUN './sp start'
    • This command will pull all docker images and start StreamPipes

Set-Up UI

...

  1. Code Block
    languagebash
    titlePrepare Installer
    # SSH
    git clone git@github.com:apache/streampipes.git
    # HTTPS
    git clone https://github.com/apache/streampipes.git
    
    # switch to development branch
    git checkout dev


  2. Open CLI directory

    Code Block
    languagebash
    titlePrepare Installer
    cd installer
    cd cli


  3. Configure StreamPipes for UI development

    Code Block
    languagebash
    titlePrepare Installer
    ./streampipes env --set ui
    # Updates the file 'system'. All StreamPipes services required for UI development are selected


  4. Start StreamPipes backend

    Code Block
    languagebash
    titlePrepare Installer
    # Downloads all docker images and starts StreamPipes backend
    ./streampipes up -d


Set-Up UI


  1. Go to 'ui' directory

  2. RUN 'npm install'
  3. Code Block
    languagebash
    titlePrepare Installer
    cd ui


  4. Install npm dependencies

    Code Block
    languagebash
    titlePrepare Installer
    npm install
    # for NPM > v7, run npm install --legacy-peer-deps


  5. Start the UI

    Code Block
    languagebash
    titlePrepare Installer
    npm start
    RUN 'npm start'