Initial commit: Базовая структура сайта
This commit is contained in:
8
backend/app/__main__.py
Executable file
8
backend/app/__main__.py
Executable file
@@ -0,0 +1,8 @@
|
||||
"""
|
||||
Точка входа для запуска приложения через python -m app
|
||||
"""
|
||||
import uvicorn
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("app.main:app", host="0.0.0.0", port=8000, reload=True)
|
||||
|
||||
Reference in New Issue
Block a user