Compare commits

...

2 Commits

Author SHA1 Message Date
Johannes Lötzsch a14d15b531
Merge pull request #13 from PluggPreagar/main
Update README.md
2022-03-17 14:17:55 +01:00
PluggPreagar 20fa2205fa
Update README.md
move to generic debug
2022-03-17 14:15:02 +01:00
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
```