Files
moded_distructive_farm/server/start_server.sh
2025-10-22 21:57:07 +03:00

7 lines
236 B
Bash
Executable File

#!/bin/sh
# Use FLASK_DEBUG=True if needed
PORT=$(python3 -c "from config import CONFIG; print(CONFIG.get('PORT'))")
FLASK_APP=$(dirname $(readlink -f $0))/standalone.py python3 -m flask run --host 0.0.0.0 --with-threads --port $PORT