Wednesday, 6 August 2008

Install django on fedora linux

Django is a framework written in python that allows programmers to develop in a fast and (hopefully) bug free manner. Django has been out there for quite a while and many developers have used it, for very important projects such as the washington post. Some believe that django is a Ruby on rails competitor, however some radical differences suggest that it should not be as such.

In this little tutorial I will install the django framework on a fedora 9 system.
I assume that you know the basics of linux and that you have apache and mysql already installed on your system.

First step is to install mod_python, mod_python is an apache module that helps us loading the python interpreter, this is going to be used by our nice little pyhton script... django.


yum install mod_python


Difficult uh?
Then we need to install the MySQL python bindings that will allow us to use the database through the django framework.

yum install MySQL-python


Now everything is ready to install django the framework itself.

yum install Django


Well that's everything you needed to know to install django on fedora, now let's go configure our new framework.

Resources:

No comments:

Post a Comment