wip: currently rewriting the project as a full stack application tangled.org/kacaii.dev/sigo
gleam

:truck: rename ´postgre´ to ´postgres´

+5 -4
+2 -2
.justfiles/docker.just
··· 7 7 full_image_name := username / image_name + ":" + tag_name 8 8 port := "8000" 9 9 10 - #  Run the container 11 - run-container: 10 + #  Run the application container 11 + run-application-container: 12 12 {{ docker }} run \ 13 13 -e DATABASE_URL=$DATABASE_URL \ 14 14 -e COOKIE_TOKEN=$COOKIE_TOKEN \
+2 -1
.justfiles/postgre.just .justfiles/postgres.just
··· 8 8 postgres_db := env("POSTGRES_DB") 9 9 port := "5432" 10 10 11 - run-container: 11 + #  Start the Postgres container in the Background 12 + run-database-container: 12 13 {{ docker }} run --rm --name postgres \ 13 14 -e POSTGRES_USER={{ postgres_user }} \ 14 15 -e POSTGRES_PASSWORD={{ postgres_password }} \
+1 -1
justfile
··· 1 1 set quiet := true 2 2 alias r := rebuild-empty 3 3 4 - mod db ".justfiles/postgre.just" 4 + mod db ".justfiles/postgres.just" 5 5 mod docker ".justfiles/docker.just" 6 6 mod gleam ".justfiles/gleam.just" 7 7