This code is based on CloudVolumeServer.
This project uses uv
to manage dependencies and the virtual environment.
# Run to setup dependencies
uv sync
If you are running this serve in production, you probably want a virtual environment:
# Create a virtual environment
uv env
uv run uvicorn --reload app.main:app
uv run pytest
We deployed this service using:
gunicorn
as the webserversupervisor
as the process control system for the gunicorn server- a reverse proxy set up in
nginx
forwarding requests to the gunicorn webserver
Please see this tutorial for step-by-step instructions.