14 lines
158 B
Bash
14 lines
158 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
DIR=$(dirname "$(readlink -f "$0")")
|
||
|
cd $DIR
|
||
|
|
||
|
|
||
|
echo "Starting server: $DIR/venv/bin/python3 app.py"
|
||
|
$DIR/venv/bin/python3 app.py
|
||
|
|
||
|
exit;
|
||
|
|