docker-compose run webapp /bin/bash -c 'python3 manage.py makemigrations'
docker-compose run webapp /bin/bash -c 'python3 manage.py migrate'
docker-compose run webapp /bin/bash -c 'DJANGO_SETTINGS_MODULE=config.settings python3 manage.py test'
or simply
./runtests.py --webapp-tests
More about testing can be found in the Testing documentation.
docker-compose run webapp /bin/bash -c 'python3 manage.py createsuperuser'
Please update locales only on release. Otherwise you will get huge diffs in feature pull requests.
docker-compose run webapp /bin/bash -c 'python3 manage.py makemessages -a'