write docu about user setup

This commit is contained in:
Mario Hüttel 2024-11-23 22:03:19 +01:00
parent c1b9c966dd
commit 2fdcfe8baf

View File

@ -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*. 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 ### 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 ### Example Reverse Proxy Setup Using nginx