Files
pony/web/app.py
T

21 lines
478 B
Python

#!/usr/bin/env python3
"""
My Little Pony: Tails of Equestria - Interaktivt Web Spil
For 4-årige: stort, farvegt, simpelt, én scene ad gangen.
Entry point: python3 app.py
Runs Flask on port 5001.
"""
import sys
import os
# Ensure the web directory is in the path so 'app' package is importable
sys.path.insert(0, os.path.dirname(__file__))
from app.config import create_app
app = create_app()
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5001, debug=True)