Compare commits
2 Commits
c5f473a303
...
c7331db3ce
| Author | SHA1 | Date | |
|---|---|---|---|
| c7331db3ce | |||
| 8a0da40793 |
4
Makefile
4
Makefile
@ -205,7 +205,9 @@ serve-backend:
|
||||
--test-backend:
|
||||
stack build --test --coverage --fast --flag uniworx:library-only $(stackopts)
|
||||
|
||||
.PHONY: --db-%-backend
|
||||
# HELP(db-cf-backend): clear and fill database. requires running postgres
|
||||
# TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations)
|
||||
PHONY: --db-%-backend
|
||||
--db-%-dev-backend: .stack
|
||||
SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true} ; \
|
||||
AVSPASS=${AVSPASS:-nopasswordset} ; \
|
||||
|
||||
@ -123,7 +123,7 @@ auth-pw-hash:
|
||||
database:
|
||||
user: "_env:PGUSER:uniworx"
|
||||
password: "_env:PGPASS:uniworx"
|
||||
host: "_env:PGHOST:host.docker.internal"
|
||||
host: "_env:PGHOST:localhost"
|
||||
port: "_env:PGPORT:5432"
|
||||
# See config/test-settings.yml for an override during tests
|
||||
database: "_env:PGDATABASE:uniworx"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user