6

I'm trying to deploy my django project to my host using cpanel, but there are some new options in Create python applications tab. What should i set for the following items:

"Application startup file"

"Application Entry point"

create application

Overlord
  • 132
  • 2
  • 10

1 Answers1

6

Ok it's actually pretty simple. When you want to deploy your Django app to cpanel, these field should be filled with:

Application startup file = Address of Manage.py file to start your app.

Application Entry point = Address of wsgi.py in your project folder.

Overlord
  • 132
  • 2
  • 10
  • 1
    Not entirely related but do you know what these files would be for a Flask app? Thanks. – Panpaper Dec 21 '19 at 02:19
  • 1
    @Panpaper There is no difference actually set your "Application startup file" to your flask app startup file like main.py and "application entry point" is your app name which is going to be called on passenger_wsgi.py. – Overlord Dec 21 '19 at 20:10