radical-api/main.py
2021-08-24 22:56:16 -04:00

9 lines
247 B
Python

import sys
from core.wrapper import Wrapper
api = Wrapper(['gunicorn', "-k", "uvicorn.workers.UvicornWorker",
"--log-config", "log.conf",
'--bind', '0.0.0.0:8000',
'api:api'], sys.stdout)
api.start()