24 lines
354 B
Python
24 lines
354 B
Python
|
|
|
|
import sys
|
|
import os
|
|
from pathlib import Path
|
|
|
|
backend_dir = Path(__file__).parent
|
|
sys.path.insert(0, str(backend_dir))
|
|
|
|
if __name__ == "__main__":
|
|
import uvicorn
|
|
|
|
|
|
uvicorn.run(
|
|
"src.presentation.main:app",
|
|
host="0.0.0.0",
|
|
port=8000,
|
|
reload=True,
|
|
log_level="info"
|
|
)
|
|
|
|
|
|
|