Compare commits
2 Commits
feature/sh
...
main
Author | SHA1 | Date |
---|---|---|
Johannes Lötzsch | a14d15b531 | |
PluggPreagar | 20fa2205fa |
|
@ -51,6 +51,27 @@ To set config options at runtime, use `environment variables`, `java system prop
|
||||||
|
|
||||||
## Notes to developers
|
## 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
|
### State management
|
||||||
|
|
||||||
Global state (e.g. instances of database and webserver) are managed by [mount](https://github.com/tolitius/mount).
|
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
|
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat >lein.bat
|
||||||
lein run
|
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
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in New Issue