Setting up your server to run Django
Installing Django
I would recommend installing the latest stable version of Django.
Follow the instructions provided on http://www.djangoproject.com/download/
At some point I may write my own, however the end result will be very similar to those already available.
MEDIA_ROOT
& MEDIA_URL
I would like to mention one thing before mentioning the setup guides. Obviously, you don’t want to pass everything to django (image, css, javascript requests). There are numerous ways of handling this, however I would recommend a second webserver.
Using this site as the example, I have setup media.djangorocks.co.uk
which is
mapped to a lighttpd server running on the same machine. I have configured a Virtual Host
to read from a media folder without my FTP account root. One thing you may need to check
is that both your webservers are setup to use the same user. The default on ubuntu
(at least for my installation) is www-data for user & group on both lighttpd and apache.
I am aware that Fedora (using YUM) does not do this as default. This is something very
easy to setup as both have user & group options in the default config files.
Configuring your server
There are numerous options available to you, however I would recommend one of the following.
A more complete list of options available is available http://code.djangoproject.com/wiki/ServerArrangements