update readme
Also removes default value for POSTGRES_PASSWORD
This commit is contained in:
parent
79d27e72ba
commit
41f9431d33
|
@ -4,6 +4,8 @@ A django app running on Docker. Replaces _Aus GLAM Blogs_.
|
||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
|
* `cp .env.example .env` and enter env values for your app
|
||||||
|
* set up web server config (nginx example coming soon)
|
||||||
* `docker compose build`
|
* `docker compose build`
|
||||||
* `./glamr-dev makemigrations` (may get a DB connection error here, ignore it or run again)
|
* `./glamr-dev makemigrations` (may get a DB connection error here, ignore it or run again)
|
||||||
* `./glamr-dev migrate`
|
* `./glamr-dev migrate`
|
||||||
|
|
|
@ -90,7 +90,7 @@ DATABASES = {
|
||||||
"ENGINE": "django.db.backends.postgresql",
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
"NAME": env("POSTGRES_DB", "ausglamr"),
|
"NAME": env("POSTGRES_DB", "ausglamr"),
|
||||||
"USER": env("POSTGRES_USER", "ausglamr"),
|
"USER": env("POSTGRES_USER", "ausglamr"),
|
||||||
"PASSWORD": env("POSTGRES_PASSWORD", "ausglamr"),
|
"PASSWORD": env("POSTGRES_PASSWORD"),
|
||||||
"HOST": env("POSTGRES_HOST", "db"),
|
"HOST": env("POSTGRES_HOST", "db"),
|
||||||
"PORT": env.int("PGPORT", 5432),
|
"PORT": env.int("PGPORT", 5432),
|
||||||
"TEST": {
|
"TEST": {
|
||||||
|
|
Loading…
Reference in a new issue