Commit 1d0ff5ad authored by totte's avatar totte

Improve documentation on PyCharm settings, add ENGINE to env vars

parent 7184676a
......@@ -37,12 +37,12 @@
- Python Console
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `SECRET_KEY=`
- `ALLOWED_HOSTS=localhost`
- Django Console
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `SECRET_KEY=`
- `ALLOWED_HOSTS=localhost`
- Docker
- Registry
......@@ -52,13 +52,13 @@
- Django server
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `SECRET_KEY=`
- `ALLOWED_HOSTS=localhost`
- Docker
- `./docker-compose.yml;`
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `SECRET_KEY=`
- `ALLOWED_HOSTS=localhost`
- `ENGINE=django.db.backends.postgresql`
- `POSTGRES_DB=`
......@@ -67,6 +67,19 @@
- `POSTGRES_PORT=`
- `POSTGRES_USER=`
# Settings for deployment
Set the following environment variables in a `.env` file:
```
SECRET_KEY=
ALLOWED_HOSTS=
ENGINE=
POSTGRES_DB=
POSTGRES_HOST=
POSTGRES_PASSWORD=
POSTGRES_PORT=
POSTGRES_USER=
```
# Advice for using Docker
- 1 application or service = 1 container
......
......@@ -28,6 +28,7 @@ services:
environment:
- ALLOWED_HOSTS
- DEBUG
- ENGINE
- POSTGRES_DB
- POSTGRES_HOST
- POSTGRES_PASSWORD
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment