atst/script/server

14 lines
251 B
Bash
Executable File

#!/bin/bash
# If a command fails, exit the script
set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Activate virtual environment
source .venv/bin/activate
# Launch the app
python3 app.py ${@}