#!/bin/bash VENV=1 HAS_DB=0 if [ "$1" == "--no-venv" ]; then VENV=0 fi ABSPATH=$(cd "$(dirname "$0")"; pwd -P) if [ $VENV -eq 1 ]; then source "$ABSPATH"/venv/bin/activate fi if [ "$2" == "--has-db" ]; then gunicorn wsgi:app else gunicorn wsgi_0:app fi