From 13db5687cbeae7a8739abdd44ef7f146135cbceb Mon Sep 17 00:00:00 2001 From: Gernot Schulz Date: Fri, 14 Aug 2020 15:21:31 +0200 Subject: [PATCH] README: Add Django secret info --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index 41df8ea9c..3991557b9 100644 --- a/README.rst +++ b/README.rst @@ -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::