repcofkk/entrypoint.sh

12 lines
325 B
Bash

#!/bin/sh
pip install -r req.txt
python ./manage.py migrate --no-input
python ./manage.py collectstatic --no-input
#DJANGO_SUPERUSER_PASSWORD=$SUPER_USER_PASSWORD python ./manage.py createsuperuser --username $SUPER_USER_NAME --email $SUPER_USER_EMAIL --noinput
#gunicorn ./repcofkk.wsgi:application --bind 0.0.0.0:8000