README: Add Django secret info

This commit is contained in:
Gernot Schulz 2020-08-14 15:21:31 +02:00 committed by Finn Stutzenstein
parent 63c4bc3ff7
commit 13db5687cb
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ You need to build the docker images for the client and server with this script::
$ ./build.sh
You must define a Django secret key in ``secrets/django.env``, for example::
$ printf "DJANGO_SECRET_KEY='%s'\n" \
"$(tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 64)" > secrets/django.env
We strongly recomment to set an initial admin password and create a second
non-admin user. Both are not strictly required (and a missing admin password will print warnings on the
startup), but if you want to have a secure setup, do::