forked from server/soundboard
Add shell script for development server
This commit is contained in:
parent
66a95dd2be
commit
f605cdc8be
12
devserver.sh
Executable file
12
devserver.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
Loading…
x
Reference in New Issue
Block a user