Code

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

Development Environment

Set-Up StreamPipes Backend

  1. Clone Installer [Link]

    Prepare 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

    Prepare Installer
    cd installer
    cd cli
  3. Configure StreamPipes for UI development

    Prepare Installer
    ./streampipes env --set ui
    # Updates the file 'system'. All StreamPipes services required for UI development are selected
  4. Start StreamPipes backend

    Prepare Installer
    # Downloads all docker images and starts StreamPipes backend
    ./streampipes up -d

Set-Up UI

  1. Go to 'ui' directory

    Prepare Installer
    cd ui
  2. Install npm dependencies

    Prepare Installer
    npm install
    # for NPM > v7, run npm install --legacy-peer-deps
  3. Start the UI

    Prepare Installer
    npm start
  • No labels