Desktop App

Tag : uwsgi

Django Deployment with Nginx, uWSGI, virtualenv and Fabric

As a Python or Django developer, various WSGI and webservers are available to deploy an application. A very fast, lightweight and relatively easy-to-install solution is the combination of Nginx, the high-performance HTTP server, and uWSGI (see benchmark of python WSGI servers). Furthermore, virtualenv and Fabric are invaluable tools to handle Python dependencies and to automate deployments.

This tutorial describes how to setup a Django 1.3, Nginx and uWSGI stack. My OS at the time of this writing was Ubuntu 10.04 LTS.

Installing all requirements

First install all the handy python tools, if you don't have them already ...