update readme

Also removes default value for POSTGRES_PASSWORD
This commit is contained in:
Hugh Rundle 2024-01-26 15:28:38 +11:00
parent 79d27e72ba
commit 41f9431d33
Signed by: hugh
GPG key ID: A7E35779918253F9
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,8 @@ A django app running on Docker. Replaces _Aus GLAM Blogs_.
## Deploy
* `cp .env.example .env` and enter env values for your app
* set up web server config (nginx example coming soon)
* `docker compose build`
* `./glamr-dev makemigrations` (may get a DB connection error here, ignore it or run again)
* `./glamr-dev migrate`

View file

@ -90,7 +90,7 @@ DATABASES = {
"ENGINE": "django.db.backends.postgresql",
"NAME": env("POSTGRES_DB", "ausglamr"),
"USER": env("POSTGRES_USER", "ausglamr"),
"PASSWORD": env("POSTGRES_PASSWORD", "ausglamr"),
"PASSWORD": env("POSTGRES_PASSWORD"),
"HOST": env("POSTGRES_HOST", "db"),
"PORT": env.int("PGPORT", 5432),
"TEST": {