THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Clone Installer [Link]
Code Block language bash title 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
Open CLI directory
Code Block language bash title Prepare Installer cd incubator-streampipes-installer cd cli
Configure StreamPipes for backend development
Code Block language bash title Prepare Installer ./sp set-template backend-dev # Updates the file 'system'. All StreamPipes services required for development are selected
Set-Up repository
Clone StreamPipes [Link]
Code Block language bash title Prepare Installer # SSH git clone git@github.com:apache/incubator-streampipes.git # HTTPS git clone https://github.com/apache/incubator-streampipes.git
Open the project in your IDE
Set-Up Backend
We provide an environment file for each service in the folder `development`. This contains the environment variables that must be set to run the service.
- Add a new Application to run configurations
- Main class: `org.apache.streampipes.backend.StreamPipesBackendApplication`
- Module: streampipes-backend
- Environment Variables: streampipes-backend/development/env
- Start the application
- Navigate to `http://localhost:8030/streampipes-backend/`to see if the backend is running. You should see the following message:
Set-Up Connect Master
- Add a new Application to run configurations
- Main class: `org.apache.streampipes.connect.container.master.init.AdapterMasterContainer`
- Module: streampipes-connect-container-master
- Environment Variables: streampipes-connect-container-master/development/env
- Navigate to `http://localhost:8099/`to check if the connect master is running. You should see the following message: