background preloader

Mezzanine - The Best Django CMS

Mezzanine - The Best Django CMS

A Minimalist Python Web Framework — CherryPy 3.3.0 documentation Django on windows: how to make Django run in CherryPy as a Windows service | Random notes from Zena Recently a client asked me to investigate the possibility to have a Django application hosted in a Windows environment. I looked around a bit and there are many ways to achieve this goal. I found the “pure Python” approach described here simpler to deploy and configure, yet very powerful and production ready for my needs. I will explain how to install Python, CherryPy and Django on Windows, and how to configure them to serve a Django application from the CherryPy WSGI server, running as a Windows service. Install Python 2.7 First of all you have to install the Python programming language support for Windows. Then to be able to invoke the python command from the command line – no matter what the current work directory is – add Python to system path. Control panel > System > Advanced > Environment variables look for path variable, click on Edit and add this at the end: C:\Python27\;C:\Python27\Scripts; You have to close the Command prompt and then reopen it to have the path variable updated.

Django documentation stephenmcd/mezzanine

Related: