#!/bin/sh basedir=$(dirname "$0") if [ ! -d "$basedir/py" ]; then echo "Directory \"py\" with a Python virtual environment" echo "does not exist. See README.rst on how to set it up." else export FLASK_DEBUG=1 export FLASK_APP="$basedir/soundboard.py" "$basedir"/py/bin/python -m flask run fi