forked from server/soundboard
13 lines
289 B
Bash
Executable File
13 lines
289 B
Bash
Executable File
#!/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/flask run
|
|
fi
|