- Added a .gitignore - Implemented security.py (apikeys.py from server-api) - Implemented wrapper.py (wrapper from radicalbot - Added proper logging using log.conf - Split tracker API endpoints into a router - Renamed Target classes to Tracker
6 lines
176 B
Python
6 lines
176 B
Python
import sys
|
|
|
|
from core.wrapper import Wrapper
|
|
|
|
api = Wrapper(['gunicorn', "-k", "uvicorn.workers.UvicornWorker", "--log-config", "log.conf", 'api:api'], sys.stdout)
|
|
api.start()
|