-
Install pre-commit hooks, pull docker images and build containers:
task init
-
Start the application:
task up
The first time you commit you may need to run:
$ GOFLAGS=-buildvcs=false pre-commitIf starting from scratch:
$ docker compose up --waitStream logs:
$ docker compose logs -f backendRun with latest images and dependencies:
$ docker compose build --pull
$ docker compose up --waitOpen a database shell:
$ docker compose run psqlRun production backend:
$ docker compose --profile production up --build prod-backendStopping:
$ docker compose --profile=* downStopping and removing local state:
$ docker compose --profile=* down --volumes --remove-orphansRunning backend tests
$ docker compose run backend-test$ docker compose run atlas-make-migrationsConfiguration environment variables:
DATABASE_DSN- (required) postgres connection stringHOST- bind interface. Default:0.0.0.0POST- bind port. Default:8000