1. Install the Python Module dependencies for your Django application, and install Gunicorn
$ cat pip_requirements.txt
django
psycopg2-binary
dj.choices
suds-py3
requests
pysmb
redis
lxml
django-cors-headers
gunicorn
$ pip install -r pip_requirements.txt
Copy the code
  1. Make sure Django Server starts properly
$python manage.py runServer 0.0.0.0:8000Copy the code
  1. Start the UWSGI file using Gunicorn
$ gunicorn <PROJECT>.wsgi -b "0.0.0.0:8000"
Copy the code