From c3b51e595189bd3e7428a0c500a1ba6f28998c20 Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Sun, 7 Apr 2024 15:03:32 +1000 Subject: [PATCH] Update `make up` to automatically seed the db It does this by running the `create_database` command first, which checks if the database tables already exist and skips making (database) changes if they do. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 404bfc10e1..919cbfaae7 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ compose_build: .env COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build -up: +up: create_database COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose up -d --build test_db: