custom user models for admin login

This commit is contained in:
simon
2021-10-25 19:28:05 +07:00
parent 6f58dc47cc
commit 3526d62540
5 changed files with 95 additions and 6 deletions

4
run.sh
View File

@@ -15,7 +15,9 @@ done
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser --noinput
export DJANGO_SUPERUSER_PASSWORD=$TA_PASSWORD && \
python manage.py createsuperuser --noinput --name "$TA_USERNAME"
python manage.py collectstatic --noinput -c
nginx &
celery -A home.tasks worker --loglevel=INFO &