]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update setup.rst 46/head
authorAndreas <41864446+a-waider@users.noreply.github.com>
Mon, 31 Jan 2022 09:09:57 +0000 (10:09 +0100)
committerGitHub <noreply@github.com>
Mon, 31 Jan 2022 09:09:57 +0000 (10:09 +0100)
In my installation environment the setup didn't work. I think running `docker exec` instead of `docker-compose run` is more error free. Or is there any specific reason why `docker-compose run` is used?

docs/setup.rst

index 99c910cf22c9c1d35844c32d491851a39f41b8ee..1c16ed153889c6fe0fd51ecda4b4180d3f9c5385 100644 (file)
@@ -222,7 +222,7 @@ Install Paperless from Docker Hub
 
     .. code-block:: shell-session
 
-        $ docker-compose run --rm webserver createsuperuser
+        $ docker exec -it webserver python manage.py createsuperuser
 
     This will prompt you to set a username, an optional e-mail address and
     finally a password (at least 8 characters).