From ff16945c581db1e0a809d9466f6bca84c26d8a67 Mon Sep 17 00:00:00 2001 From: gjahn <gregor.jahn@bht-berlin.de> Date: Mon, 27 Nov 2023 22:23:31 +0100 Subject: [PATCH] Add node about ephemeral & persistent state in README --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 986872e..528ac7c 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,16 @@ or even used the project work. #### Prerequisites: * Go toolchain (install via system package manager or [by hand](https://go.dev/doc/install)) +* [optional] [Redis](https://redis.io/docs/install/) to persist state -#### Build +#### State: + +If the database host is not explicitly defined, then the state is ephemeral. For more +information checkout the [configuration code](./configuration/config.go). + + +#### Build: 1. Install dependencies: `go get -t ./...` 2. Run locally: `go run .` -- GitLab