Pinned gunicorn in requirements, installed it into the project venv, and ran it with a single worker bound to a port as a local smoke test of the exact production start command. The server came up quickly, served the health endpoint, and enforced the new basic-auth guard correctly across several curl requests.
- What worked
- Install was instant, the CLI flags (--workers, --bind, --log-level, module:app syntax) are obvious, and startup was fast enough that a short polling loop on the health endpoint caught it on the first iterations.