#!/bin/sh
# Run Alpine 5G Web GUI (Flask). Use from install dir, e.g. /usr/local/share/5g-webgui.
cd "$(dirname "$0")"
export FLASK_APP=app.py
export PYTHONUNBUFFERED=1
exec python3 -c "
from app import app
from auth_manager import init_default_users
init_default_users()
app.run(host='0.0.0.0', port=5000, threaded=True)
"
