NewsBlur-viq/newsblur_web/entrypoint.sh
2022-02-16 21:16:24 -08:00

6 lines
204 B
Bash
Executable file

#!/usr/bin/env bash
if [[ -z "${TEST}" && "${TEST}" = "True" ]]
then echo " ---> Starting test env"
else python3 manage.py check_db; gunicorn -c config/gunicorn_conf.py newsblur_web.wsgi:application
fi