Prerequisites:
Docker Desktop
Java 17 SDK
Gradle
IntelliJ (optional)
Git
Running services
Checkout code from repository
Make sure that Docker Desktop is running
Go to the service you want to run, read through README.md and set environments
Open terminal from that folder and run the docker-compose.yaml file:
docker-compose up -d
Make sure that all the containers in the file are up and running. If there are some containers that stopped for some reason, rerun the docker command.
Start the service:
./gradlew run
You may need to setup the environment variables for some services to use local specific configurations: MICRONAUT_ENVIRONMENTS=local
Not all services have a docker-compose file. If the service does not have it, you can just check the dependencies it has, and then run those as docker containers. Generally, the only dependencies that a service needs to run are the database and the Kafka topics.