NewsBlur-viq/newsblur_web/entrypoint.sh

7 lines
204 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2021-03-09 12:04:48 -05:00
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
2021-03-09 12:04:48 -05:00
fi