From e8de8a5fc7006c378f2b919acc6e854ea74683b6 Mon Sep 17 00:00:00 2001 From: Lei Lei Date: Mon, 5 Jul 2021 05:49:18 -0400 Subject: [PATCH] Add other option to create superuser for win10 during installation (#3385) --- .../en/docs/administration/basics/installation.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site/content/en/docs/administration/basics/installation.md b/site/content/en/docs/administration/basics/installation.md index 976625a9..2aa91205 100644 --- a/site/content/en/docs/administration/basics/installation.md +++ b/site/content/en/docs/administration/basics/installation.md @@ -172,6 +172,15 @@ server. Proxy is an advanced topic and it is not covered by the guide. winpty docker exec -it cvat bash -ic 'python3 ~/manage.py createsuperuser' ``` + If you don't have winpty installed or the above command does not work, you may also try the following: + + ```sh + # enter docker image first + docker exec -it cvat /bin/bash + # then run + python3 ~/manage.py createsuperuser + ``` + Choose a username and a password for your admin account. For more information please read [Django documentation](https://docs.djangoproject.com/en/2.2/ref/django-admin/#createsuperuser).