Gunicorn will not bind to my application

Well that's not how you refer to the WSGI file with gunicorn. See the docs:

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 if your wsgi.py file is in GenericRestaurantSystem/wsgi.py, your command should be

gunicorn -b 127.0.0.1:8000 GenericRestaurantSystem.wsgi:application

for me this work like charm :)

cd ~/myproject
gunicorn —bind 0.0.0.0:8000 myproject.wsgi:application

I guess it should be

gunicorn GenericRestaurantSystem.wsgi:application