- clone this repo
git clone
- install requirements
- get
settings.json
from administrator and put it underconfig
folder - set environment variable:
export COMP_SETTING="YOUR_PATH_HERE"
- Start server by executing
python main.py
- test server by using
python client_example.py
Run pytest -c pytest_env.ini --cov=v1
, revise the ini
file as needed
Run on desired serer
nohup uvicorn v1.api:app --host 0.0.0.0 --port 8000 > nohup.out & echo $! > process.txt