good luck
Some checks failed
CI / Lint (push) Successful in 58s
CI / Test (push) Successful in 8s
CI / Build & Push (push) Failing after 1m33s

This commit is contained in:
2026-03-29 09:20:21 -04:00
parent b10736d43c
commit 3994943757
23 changed files with 579 additions and 161 deletions

12
run.py
View File

@@ -1,13 +1,13 @@
from app import app
from waitress import serve
import threading
from app import app
from app.config import PORT
from app.scoreboard.tasks import schedule_tasks
from app.scoreboard.get_data import store_scoreboard_data
from app.scoreboard.update_nhl_standings_db import update_nhl_standings
from waitress import serve
if __name__ == '__main__':
if __name__ == "__main__":
store_scoreboard_data()
update_nhl_standings()
threading.Thread(target=schedule_tasks).start()
serve(app, host="0.0.0.0", port=2897)
threading.Thread(target=schedule_tasks, daemon=True).start()
serve(app, host="0.0.0.0", port=PORT)