I am trying to host Django application in CloudFoundry. I am able to host the application if I use external package gunicorn. But with Django's inbuilt runserver, the application is not getting started.
The Procfile
content with Gunicorn is:
web: gunicorn
dcms.wsgi:application
The result with this Procfile:
Application is started and can be seen working successfully on the URL.
The Procfile content with django's inbuilt runserver is:
web: python manage.py runserver 0.0.0.0:8080
The result with this Procfile
:
Waiting for app to start... Start unsuccessful
So, Would like to know the difference between the two. And want to make it work using runserver without using external package.