Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.26 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.26 KB

Maintainability Test Coverage

Crag DB

A project of route database for sport climbers. I wanted to learn new things and discover the capabilities of the Neo4j and Axon.

Prerequisites

  • Java 21
  • skaffold
  • minikube or other local kubernetes

For minikube please follow the instructions on the official site.

How to run

First run the minikube and switch to the proper context.

Then issue the following:

./gradlew clean build
skaffold dev

This will start the app with all dependencies in the kubernetes cluster. The application does not have any ingress or UI configured yet, the GraphQL API can be accessed via port-forwarding.

Local build

Start docker containers via the compose file below and run app in your IDE.

Run docker-compose

This will start in interactive mode and you can see the logs.

docker compose up 

Alternatively, you can run it in the background.

docker compose up -d