I am very new to render and I am trying to deploy my first flask app here but I am not able to understand what is the “start” command, I followed numerous tutorials that all used guincorn app:app but for some reason it does not work for me?
Thanks for the response, is the first “app” the file name and the second “app” for “app = Flask(name)” I saw a few resources which said, gunicorn app:app is similar to from app import app but I have “app = Flask(name)” inside the file called app.py?
If we look at gunicorn’s documentation, we can see:
Basic usage:
$ gunicorn [OPTIONS] [WSGI_APP]
Where WSGI_APP is of the pattern $(MODULE_NAME):$(VARIABLE_NAME). The module name can be a full dotted path. The variable name refers to a WSGI callable that should be found in the specified module.
So, your module name (file name) + a variable within the module that can be called by gunicorn