Update installation documentation in README

       Add info about SITE_ID required variable
parent 206bfc61
Pipeline #1191 passed with stages
in 2 minutes and 44 seconds
......@@ -22,16 +22,17 @@ webpack (to compile local assets)
## Settings
Create a file in `project/settings/env.py` which contains django
settings for **DEBUG** and **SECRET_KEY**.
settings for **DEBUG**, **SECRET_KEY** and **SITE_ID**.
For testing you can use `DEBUG = True` and a random string for
`SECRET_KEY`.
For testing you can use `DEBUG = True`, a random string for
`SECRET_KEY` and `SITE_ID=1`.
In production you can use env variables with
```python
os.environ["DJANGO_DEBUG"]
os.environ["DJANGO_SECRET_KEY"]
os.environ["DJANGO_SITE_ID"]
```
You'll also need to define a DJANGO_ALLOWED_HOSTS containing
......
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