12 lines
333 B
Python
12 lines
333 B
Python
from zbiorka_app import create_app
|
|
from zbiorka_app.extensions import db
|
|
from zbiorka_app.utils import create_admin_account, init_database_with_retry
|
|
|
|
app = create_app()
|
|
|
|
__all__ = ["app", "db", "create_admin_account", "init_database_with_retry"]
|
|
|
|
if __name__ == "__main__":
|
|
init_database_with_retry(app)
|
|
app.run(debug=True)
|