From 2fdcfe8baf4f026a8a228f4b5db62ed497c7df79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 23 Nov 2024 22:03:19 +0100 Subject: [PATCH] write docu about user setup --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23b50e4..2d28688 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,9 @@ $ docker ps to check if the `shimatta-kenkyusho-shimatta-kenkyusho-db` and the `shimatta-kenkyusho-shimatta-kenkyusho-web` container are running and report a *healthy status*. ### Setup Initial Login User -> TODO +When started the for the first time with a fresh database without any superuser configured, a superuser `admin` with password `admin` will be automatically generated. +Use this user to login for the first time. In the django admin panel you can then either change the password of the `admin` user or create a new superuser with your own username and delete the `admin` user. +As long as there is at least one superuser configured, no admin user will be regenerated upon startup. ### Example Reverse Proxy Setup Using nginx