Merge pull request #13 from PluggPreagar/main

Update README.md
This commit is contained in:
Johannes Lötzsch 2022-03-17 14:17:55 +01:00 committed by GitHub
commit a14d15b531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 16 deletions

View File

@ -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
```