Month: December 2011

2011 retrospective and plans for 2012

These retrospective posts are annoying aren’t they – kind of like the xmas round-robin letters?! However, I wanted to do one again, because it helps me keep track of things, where i’ve been (and when – it all becomes a blur..). So, as I did with 2009, 2010 and 2011, I wanted to revisit the… Read more »

Notes on deplying django with virtualenv mod_wsgi and apache on ubuntu

As i’ve exclusively been using app engine in my day job at Potato, I haven’t yet had to deal with deploying a django site on my own Ubuntu server yet. I knew that I would be using virtualenv, apache and mod_wsgi, but hadn’t yet worked out how this is done. Rather than repeating it all… Read more »

Too Old To Skate rebuild

A month or so ago I took offline as it seems that it was being used as a spam relay. It was running an ancient unpatched version of wordpress, so this came as no surprise. I thought it would be a good opportunity to rebuild it using django. So yet another django blog engine… Read more »

Setting up apache on osx lion

For general website/ PHP development, I like to have multiple local sites running from my Sites folder using virtualhosts. Up until now i’ve usually done this with Xampp, but after hearing that the version of apache shipped with OSX 10.7 is fairly useable out of the box I thought i’d run with it. First of… Read more »

mysql_config not found osx

This always gets me when I try to install mysql-python on osx using pip:- $pip install mysql-python (ugly traceback, ending in:-) EnvironmentError: mysql_config not found Googling round finds that most people suggest editing a line in MySQL-python/site.cfg (wherever that is..), but my preferred solution is add the following line to my .profile:- export PATH=$PATH:/usr/local/mysql/bin This… Read more »

Running Google App Engine SDK on OSX lion

OSX Lion comes with python 2.7 as default. Although App Engine will run on 2.7, it is safer to develop on the version of python that your live app engine instances are running on, which in my case is python 2.5 currently. From a fresh install of Lion, I did the following:- Installed xcode via… Read more »