- The Poetry package manager is required for installation. Poetry Installation Depending on your environment, this might work:
pip install poetry
poetry install
poetry shell # activates virtual environment
uvicorn src.main:app \
--host 0.0.0.0 \
--port 8001 \
--workers 17
gunicorn src.main:app \
--worker-class uvicorn.workers.UvicornWorker \
--bind 0.0.0.0:8002 \
--workers 17