Note: This feature is only available on Essentials & Plus hosting plans. If you are on Starter or Basics, you will need to upgrade.
In cPanel, select Setup Python App. On the next page, fill in the following details:
- Select a Python version. Please keep in mind Python 2.x is deprecated.
- Set your application root. This is relative to your home directory and will be created if it does not already exist.
- Enter the address the application should be available on.
- Name the file that will run the application. This will link to the application entry point.
- Enter the application entry point.
- Enter the location of the passenger log file.
- Click the create button.
- If needed, add the server environment variable.