Blog Archive for July 20, 2011

Gunicorn init script with VirtualEnv

July 20, 2011

Here's a Gunicorn startup script for a Django app that is deployed within a virtualenv on Debian.

You'll need to change some of the settings at the start of this script, to indicate the name of the project and then owner home directory that its source is inside. You'll also …

Getting Started with VirtualEnv

July 20, 2011

I want to use VirtualEnv to manage my python environment, particularly because I'm using gunicorn as a wsgi server, and I want to be able to upgrade gunicorn for one particular application without affecting others.

VirtualEnv creates multiple distinct python environments - if you install libraries whilst inside a virtualenv, …