You'll need to have Java 17 (or later) and docker installed to be able to run the project and tests. You'll need to also have Java IDE (e.g. IntelliJ, Visual Studio Code, or other preferred one).
- Clone this repository
- Make sure you are on master branch.
- To start EventStoreDB using Docker, run:
-
docker-compose up
- for X86-based computers, -
docker-compose -f docker-compose.arm64.yml up
- for ARM-based computers like MacBook M1.To access the github packages docker images, you need to authenticate docker with a gitub personal access token. It should be generated. Select at least following scopes:
repo
,read:packages
. Then login to github docker registry with:docker login https://ghcr.io -u -u YOUR_GITHUB_USERNAME -p YOUR_PERSONAL_ACCESS_TOKEN
Check full instructions in the "Authenticating to the Container registry" guide.
-
- Open solution in IDE and run all tests using
./gradlew clean test
command,- or run through your IDE test runner.
- To start application run:
./gradlew bootRun
command- or run it through your IDE.
Any problems please contact training@eventstore.com