Files

24 lines
550 B
Python
Raw Permalink Normal View History

2026-02-03 21:58:25 +01:00
"""
=============================================================================
RUN SCRIPT
=============================================================================
Simple script to run the FastAPI server.
Useful for development and debugging.
Usage:
python run.py
"""
import uvicorn
from config import settings
if __name__ == "__main__":
uvicorn.run(
"main:app",
host="0.0.0.0",
port=settings.PORT,
reload=settings.ENVIRONMENT == "development", # Auto-reload in dev
log_level="info",
)