Skip to content

Commit

Permalink
Update make up to automatically seed the db
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
justinclift committed Apr 7, 2024
1 parent af0773c commit c3b51e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c3b51e5

Please sign in to comment.