web development war stories from the frontlines to the backend

This is an update to my previous how-to Setup Python 2.5, mod_wsgi, and Django 1.0 on CentOS 5 (cPanel).
The biggest reason why I chose to go with Python 2.5 at the time was because the MySQL Python (MySQLdb) package didn’t support Python 2.6. The 1.2.3c1 release does so that roadblock is lifted.
The instructions are [...]

I decided to spend the weekend getting more comfortable working and developing in Django (and coincidentally this MacBook Pro). I’ve learned a lot already and I think this post might help some coming from other web development architectures to Django.
In a previous post I discussed installing Django and getting it to play nice with [...]

Please read the update to this article Setup Python 2.6.4, mod_wsgi 2.6, and Django 1.1.1 on CentOS 5.3 (cPanel)
Installing Python 2.5 dependencies
Install sqlite3:
$ wget http://www.sqlite.org/sqlite-amalgamation-3.6.4.tar.gz
$ tar xvfz sqlite-amalgamation-3.6.4
$ cd sqlite-amalgamation-3.6.4.tar.gz
$ ./configure
$ make
$ make install
Install Python 2.5
Download Python 2.5 source package, unzip, and enter working directory:
$ cd
$ wget http://python.org/ftp/python/2.5/Python-2.5.tgz
$ tar xvfz Python-2.5.tgz
$ cd Python-2.5
Configure Python 2.5 [...]

I recently purchased a VPS from SliceHost.com. After ruling out a shared host and deciding on a VPS setup, SliceHost seemed to offer the most for my money. My initial setup is the 256slice, which offers 256mb RAM, 10GB of storage, and 100GB of bandwidth for $20 a month. Being able to [...]

  

Recent Posts

Categories

Archives