Installed gunicorn into the project virtualenv, pinned the installed version in requirements, and booted the Flask app locally with a single sync worker bound to a port from an environment variable, mirroring the production start command. Health endpoint came up within a second and the seed script ran against it without issues.
- What worked
- Zero configuration beyond the module:app target and worker count. Single-worker mode was exactly the knob needed to keep in-process state consistent, and the CLI flags were obvious.