Skip to content
mpwoodward edited this page Aug 26, 2012 · 1 revision

I'm going to assume you already have Python and Django installed since there are plenty of resources that cover that, but if you haven't gotten that set up do that before proceeding.

I'm also only going to cover doing this on GNU/Linux, specifically Ubuntu 12.04 64-bit. Adjust for your chosen OS accordingly, or use Linux. :-)

Installing MySQL Libraries

Since the book uses MySQL you'll need to make sure these are installed, and the book intentionally doesn't include this information.

You can see this blog post for more info but here's the steps I took:

sudo easy_install pip
sudo pip install pip --upgrade
sudo apt-get build-dep python-mysqldb
sudo pip install MySQL-python

Installing djangodblog

djangodblog is now an abandoned project since it's been superseded by something else, but since the book (which was written in 2009) uses it I figured I better stick with it.

sudo pip install django-db-log --upgrade
Clone this wiki locally