Log into the Control Panel.
Navigate to “Extra Features”: and locate the “Setup Python App” option.
Click on “Create Application”: and fill in the required details:
- Python Version: Select the desired Python version for your application.
- Application Root: Specify the directory where your application files will reside.
- Application URL: Define the URL through which your application will be accessed.
- Application Startup File: Provide the path to your main Python application file (e.g.,
app.py). - Application Entry Point: (Optional) Specify the callable object within your startup file that serves as the entry point.
Upload your application files: to the specified Application Root directory.
Install dependencies: using pip within the virtual environment created by this feature (usually accessible via SSH).
