This repository holds a dummy extension for ExplorViz Backend. Use it as a starting point for your future extension (microservice).
- Clone this repository (e.g. for SSH
git clone [email protected]:ExplorViz/explorviz-backend-extension-dummy.git
) - Set remote URL to the URL of your assigned repository (e.g. for SSH
git remote set-url origin [email protected]:ExplorViz/explorviz-backend-extension-X.git
) - Rename the root folder explorviz-backend-extension-dummy to explorviz-backend-extension-X, where X is the name of your extension
- Run
./gradlew renameProject -PextensionName="X"
, where X is the name of your extension - Adjust the README.md (e.g. remove Setup sections)
- Stage and commit changes with
git add -A && git commit -am "renaming dummy"
- Push to remote origin and set upstream with
git push -u origin master
- Follow the Backend Setup
- In Eclipse:
Import -> Gradle -> Existing Gradle Project
- Start your development
- Start the Main class with
Right click -> Run as -> Java Application
(read the section below first)
ExplorViz services (including this dummy extension) use Redis as id generator for distributed and (tba) scalable services. For your development, you must ensure that a Redis instance is available and running on your machine. You can use the provided docker-compose file for an easy setup.