You can now set up mutiple application quickly from within cPanel. Each Python application can have it's own directory structure and installed on it's own domain, subdomain, or subfolder. Each installation can also have it's own modules. All of this can be managed from within the 'Setup Python App' page.
1.) Log into cPanel.
2.) Click the 'Setup Python App' icon
3.) Under the 'setup new application' section select the Python version and setup the app directory and domain. When done, click the 'Setup' button
4.) When setup you should see a screen similiar to the one below:
If you need to change an application, such as updating the python version or changing the application directory or URL you can do so from the Existing application section. For the updates to take effect, you must click the 'Update' button at the bottom of the application window.
To remove an application, click the 'Remove' button at the bottom of the application window.
Modules can be installed via SSH or using the modules section of the application by clicking the 'Show' link next to modules:
1.) Type in the module you wish to install.
2.) Click on the module, and you will be able to choose which versoin to install.
3.) Click the 'Add' button to add the application.
4.) Don't foget to update the applicatoin by clicking the Update button.
For a more in depth look at deploying a Python application, please take a look at How to deploy a Python application.
Powered by WHMCompleteSolution