first commit
This commit is contained in:
15
backend/run.py
Normal file
15
backend/run.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from app.main import app
|
||||
from app.core_settings import get_settings
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
settings = get_settings()
|
||||
app.run(
|
||||
host=settings.host,
|
||||
port=settings.port,
|
||||
debug=settings.debug,
|
||||
use_reloader=settings.debug,
|
||||
threaded=True,
|
||||
)
|
||||
Reference in New Issue
Block a user