build(Makefile): compile frontend before db-fill

This commit is contained in:
Sarah Vaupel 2024-10-24 02:17:41 +02:00
parent bc51e46285
commit 403b1b951b

View File

@ -200,7 +200,7 @@ well-known: static;
# HELP: clear and fill database. requires running postgres
db: FRADRIVE_SERVICE=backend
db: CONTAINER_NAME=uniworxdb
db: --image-build --containerized---db;
db: compile-frontend --image-build --containerized---db;
# TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations)
--db-backend: .stack --compile-backend
SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true} ; \