Add other option to create superuser for win10 during installation (#3385)

main
Lei Lei 5 years ago committed by GitHub
parent dde8a40ce5
commit e8de8a5fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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).

Loading…
Cancel
Save