Page tree
Skip to end of metadata
Go to start of metadata

Need to deploy a Python application? Or do you need a certain Python version? In this case, GlowHost suggests an easy WSGI solution. Forget about the times when you had to add Apache handlers in .htaccess files and the path to the Python environment in your scripts... Just follow easy steps below!

Do the following:

  1. Go to your cPanel > Setup Python App.
  2. Choose your desired Python version, a directory for your applications, and a domain/URI from the dropdown menu as it is shown in the picture below, then click setup.

  3. Congratulations! Your environment is now ready! Now when entering your App Domain in your browser, you will see a message that says "It works!" and the Python version which is being used. Next, add the necessary modules (available in modules section) and then upload your applications inside your App Directory. That's it!

  4. As an example, you can use provided by phusionpassenger. Please, note this example requires the Flask module in order to work.