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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

Do the following:

  1. Go to your cPanel > Setup Python App.
  2. Choose necessary Pythin version, directory for your applications and domain/URL from the dropdown menu as it is shown on the picture below and click setup.
  3. Congratulations! Your environment is ready! Now when entering your App Domain you will see It works! message and the Python version used. Next, add necessary modules available in modules section and  put your applications inside your App Directory and you are done.




  4. As an example, you can use https://github.com/phusion/passenger-python-flask-demo.git provided by phusionpassenger. Please, note this example requires Flask module in order to work.

 

 

 

  • No labels