7 lines
236 B
Bash
Executable File
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
|