zbiorki_app/run_waitress.py
Mateusz Gruszczyński 79d777d9b3 fix tworzenie admina
2025-03-07 22:56:28 +01:00

8 lines
225 B
Python

from app import app, db, create_admin_account
from waitress import serve
if __name__ == '__main__':
with app.app_context():
db.create_all()
create_admin_account()
serve(app, host='0.0.0.0', port=8080)