Beforehand please contact Getspace technical support to enable Shell Access for your account. You will be able to use Terminal in the Advanced Section:
7c90b1cdf62e5ef18c15d2d75aa5b27ebda1830c?t=22e54fbdd18a115dd572c9ff0f2c3ff8
1. Log in to your cPanel account.

2. In the SOFTWARE section select Setup Python App tool:
467e95bd7484f4071189d8790eebcc9ae5b812ac?t=2f113826b08ea941e09a70f79f40bdbf
3. Click CREATE APPLICATION
646ff30e32dfc5ba6e3cfe0b91351202429afc46?t=7a51b5d33995b0a04e6a29aba43d53bf
The application form appears:
81548e1fbcfb7eafbeadddca7bec5561fd0b4452?t=d1e67a436a1a83fe58a8c0fcf349bdcc
4. In the Python version list box, select 3.8.6.

5. In the Application root text box, type myapp.

6. In the Application URL list box, select the domain. Leave the rest of the URL blank.

7. Leave the Application startup file text box and Application Entry point text box blank.
When these text boxes are blank, cPanel automatically creates a passenger_wsgi.py startup file and default application object for you.

8. In the Passenger log file text box, you can optionally specify a log file for the application.

9. In the top right corner of the page, click CREATE:
0a22f20be50cafb7b643c48aff703f8f4435e216?t=9a85ebccc1e8924090bd587fb8222de3
cPanel will create the application and set up the Python environment.

10. At the top of the page, there is “Enter to the virtual environment. To enter to virtual environment, run the command” - copy the command. This is the command you input in the Terminal to enter the virtual environment that is set up for the application. To install packages through pip, this command must be run first.
0c89c81b35a60803a99f7586c82af4eec8e7b7ad?t=4b00cb59bbbd4efae07eb0772df3d284

Comments

Confirm Submission

Please enter the text from the image in the box provided; this helps us to prevent spam.