From 20fa2205fa302013b39de0b9e325ed4e230690a5 Mon Sep 17 00:00:00 2001 From: PluggPreagar <2373524+PluggPreagar@users.noreply.github.com> Date: Thu, 17 Mar 2022 14:15:02 +0100 Subject: [PATCH] Update README.md move to generic debug --- backend/README.md | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/backend/README.md b/backend/README.md index 2f1331d..376a60b 100644 --- a/backend/README.md +++ b/backend/README.md @@ -51,6 +51,27 @@ To set config options at runtime, use `environment variables`, `java system prop ## Notes to developers +Login using credentials from DB_SEED. Hint: be careful with escaping ;-) + +### debug + +in case of failure you can add detail information by activating verbose-mode + +```bash +SET VERBOSE=true +lein run +``` + +to check using test-data use + +```bash +set DB_SEED="src/beherbergung/db/seed/test.edn" +lein run +``` + + + + ### State management Global state (e.g. instances of database and webserver) are managed by [mount](https://github.com/tolitius/mount). @@ -80,19 +101,3 @@ consider download, self-install and run via lein.bat curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat >lein.bat lein run ``` - -### debug - -in case of failure you can add detail information by activating verbose-mode - -```bash -SET VERBOSE=true -lein run -``` - -to check using test-data use - -```bash -set DB_SEED="src/beherbergung/db/seed/test.edn" -lein run -```