Skip to content

ArshavirH/training-advanced-java

 
 

Repository files navigation

Training Advanced Event Sourcing, CQRS and DDD Modelling in Java

Instructions for setting up project

Prerequisities

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).

Steps

  1. Clone this repository
  2. Make sure you are on master branch.
  3. 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.

  4. Open solution in IDE and run all tests using
    • ./gradlew clean test command,
    • or run through your IDE test runner.
  5. To start application run:
    • ./gradlew bootRun command
    • or run it through your IDE.

Any problems please contact training@eventstore.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%