]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Add exec snippet for `createsuperuser`
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 24 Apr 2023 03:48:08 +0000 (20:48 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Mon, 24 Apr 2023 03:48:08 +0000 (20:48 -0700)
Closes #3154

docs/setup.md

index 390f528ea8a001d13fee2ca06732a11137c74091..e25c3556f7e904fd5cf62b9f4110ea44d95bff99 100644 (file)
@@ -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).