NewsBlur/newsblur_web/entrypoint.sh

6 lines
198 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