I slapped together a virtual machine to try out an instance of ReviewBoard. It’s been a little while since I fiddled with Ubuntu, so I grabbed the latest server release(7.10) and set it up. Then I settled in to get all the various python pieces I’d need for django… On a lark, I tried
apt-cache search django
… and sure enough, it came back with a hit.
I had a development environment set up in minutes with the following:
apt-get update apt-get dist-upgrade # dev environment apt-get install python-django python-pysqlite2 # running with MySQL apt-get install python-mysqldb mysql-server-5.0 mysql-server python-egenix-mxdatetime
Nice!
FYI: That installs Django 0.96, the last stable release, which is rather old. It’s still being maintained with any security fixes by the Django team, but if you’re doing any sort of Django development at all, you should be using the current SVN trunk version. It’s just as stable as 0.96, and contains a lot of very nice new features.
(Yes, I realize you’re just using Django to run a single app, and for that, the Ubuntu repo version is fine. This comment is mainly for anyone else who might be considering writing their own Django applications.
LikeLike
Yeah, I noticed that pretty quickly. I don’t know where the next release is sitting with Django, but it certainly has been a while since 0.96. Both of the projects I’m fiddling with (ReviewBoard and another) want the trunk… so I removed the package and put in Django from source.
LikeLike
Greatest instructions I’ve seen on Django. I tried several other sites that had voluminous instructions and then I tried your instructions and in like 2 minutes the whole thing was up and running. thank you
LikeLike