20 lines
366 B
Python
20 lines
366 B
Python
#!/usr/bin/env python
|
|
"""Run the Jira vein API."""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add parent to path for imports
|
|
sys.path.insert(0, str(Path(__file__).parent))
|
|
|
|
import uvicorn
|
|
from core.config import settings
|
|
|
|
if __name__ == "__main__":
|
|
uvicorn.run(
|
|
"main:app",
|
|
host="0.0.0.0",
|
|
port=settings.api_port,
|
|
reload=True,
|
|
)
|