14 lines
230 B
Python
Executable file
14 lines
230 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import uvicorn
|
|
|
|
from app.main import app
|
|
from app.common import settings
|
|
|
|
|
|
if __name__ == '__main__':
|
|
uvicorn.run(
|
|
app=app,
|
|
host=settings.app_host,
|
|
port=settings.app_port,
|
|
)
|