24 lines
587 B
Python
24 lines
587 B
Python
"""
|
|
PipBoy — Fallout: Venice of Wasteland
|
|
Dashboard unifié : Simulation | Outils | Lore enrichment | Paramètres
|
|
"""
|
|
from flask import Flask
|
|
|
|
from .routes import sim, tools, lore, sim_proposals, params
|
|
|
|
|
|
def create_app() -> Flask:
|
|
app = Flask(__name__, template_folder="templates")
|
|
|
|
app.register_blueprint(sim.bp)
|
|
app.register_blueprint(tools.bp)
|
|
app.register_blueprint(lore.bp)
|
|
app.register_blueprint(sim_proposals.bp)
|
|
app.register_blueprint(params.bp)
|
|
|
|
return app
|
|
|
|
|
|
if __name__ == "__main__":
|
|
create_app().run(host="0.0.0.0", port=5000, debug=False)
|