Files
python_parser/python_parser/run_dev.py
2025-08-28 12:16:36 +03:00

13 lines
428 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import uvicorn
if __name__ == "__main__":
uvicorn.run(
"app.main:app",
host="0.0.0.0",
port=8000, # Исправляем порт с 8080 на 8000
reload=True,
reload_dirs=["app", "core", "adapters"], # Папки для отслеживания изменений
reload_excludes=["*.pyc", "__pycache__", "*.log"], # Исключения
log_level="info",
)