This article provides a guide on how to run a Flask application with Gunicorn, including installing Gunicorn, setting up a Flask application, and running the application with Gunicorn.
Key quote "When you run the server via Gunicorn, you need to specify the module name and the variable name of the app for Gunicorn to access it. Note that the variable should be a WSGI callable object for e.g a flask app object. "