[#23] Build script now starts postgres database as well
This commit is contained in:
parent
969306bbae
commit
5b515ecd91
2 changed files with 22 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -36,6 +36,7 @@ run:
|
|||
# As a workaround, we just have a stop command that stops the container.
|
||||
stop:
|
||||
@ docker stop -t 2 fej
|
||||
@ docker stop fej_db
|
||||
.PHONY: stop
|
||||
|
||||
# This attaches to the running container, essentially giving the same result as
|
||||
|
|
@ -44,6 +45,11 @@ logs:
|
|||
@ docker logs -f fej
|
||||
.PHONY: logs
|
||||
|
||||
# This just starts up a shell inside the fej container
|
||||
sh:
|
||||
@ docker exec -it fej sh
|
||||
.PHONY: sh
|
||||
|
||||
# Builds the debug version, and runs the tests (but doesn't detach).
|
||||
test:
|
||||
@ ./build -m dev -a run -l -- test --no-fail-fast
|
||||
|
|
|
|||
Reference in a new issue