From 47682bc1430481aec3087acad031cc9755c9af8c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 23 Apr 2023 20:48:08 -0700 Subject: [PATCH] Add exec snippet for `createsuperuser` Closes #3154 --- docs/setup.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/setup.md b/docs/setup.md index 390f528ea..e25c3556f 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -170,6 +170,12 @@ steps described in [Docker setup](#docker_hub) automatically. $ docker-compose run --rm webserver createsuperuser ``` + or using docker exec from within the container: + + ```shell-session + $ python3 manage.py createsuperuser + ``` + This will prompt you to set a username, an optional e-mail address and finally a password (at least 8 characters).