Skip to content

RichoDemus/chronicler

Repository files navigation

Chronicler

An Event Store running on the JVM
Build Status

Build application and run all tests

./gradlew

Build and run

./build-and-run.sh

Build and run in Docker

./gradlew build buildImage && ./docker-run.sh

Custom Docker Tag

./gradlew buildImage -Ptag=x

Run unit tests

./gradlew test

Run component tests

./gradlew componentTest

Print task dependency tree

./gradlew :server:dropwizard:build :server:dropwizard:taskTree --no-repeat

Configuration

Behaviour is configured via environment variables

  • STORAGE - where to store events, values: DISK, GCS (google cloud storage)

Configuration for Disk storage:

  • SAVE_TO_DISK - boolean, default true
  • DATA_DIR - string, default data/

Configuration for Google Cloud Storage:

  • GCS_PROJECT - project name
  • GCS_BUCKET - bucket name

See docker-run.sh for examples