THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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
Clone Installer [Link]
- Checkout branch 'dev'
- Go to directory 'cli'
- RUN './sp set-template ui-dev'
- This will update the file 'system' and active all StreamPipes services, except the UI
- RUN './sp start'
- This command will pull all docker images and start StreamPipes
Set-Up UI
...
Code Block language bash title 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
Open CLI directory
Code Block language bash title Prepare Installer cd installer cd cli
Configure StreamPipes for UI development
Code Block language bash title Prepare Installer ./streampipes env --set ui # Updates the file 'system'. All StreamPipes services required for UI development are selected
Start StreamPipes backend
Code Block language bash title Prepare Installer # Downloads all docker images and starts StreamPipes backend ./streampipes up -d
Set-Up UI
Go to 'ui' directory
- RUN 'npm install'
Code Block language bash title Prepare Installer cd ui
Install npm dependencies
Code Block language bash title Prepare Installer npm install # for NPM > v7, run npm install --legacy-peer-deps
Start the UI
RUN 'npm start'Code Block language bash title Prepare Installer npm start