przebudowa systemu

This commit is contained in:
Mateusz Gruszczyński committed 2025-08-28 10:27:06 +02:00
1 parent d71d33cfe0
commit e9db945bb4
36 files changed
+2307 -809

No files matched your search

+4 -1
View File
@@ -1,3 +1,4 @@
import os
from app import app, db, create_admin_account
from waitress import serve
@@ -5,4 +6,6 @@ if __name__ == '__main__':
with app.app_context():
db.create_all()
create_admin_account()
serve(app, host='0.0.0.0', port=8080)
port = int(os.environ.get("APP_PORT", 8080))
serve(app, host="0.0.0.0", port=port)