1. Installation

This document assumes you are familiar with Python and Django, and should outline the steps necessary for you to follow the Introductory Tutorial.

1.1. Requirements

Note

When installing the django CMS using pip, Django, django-mptt django-classy-tags, django-sekizai, south and html5lib will be installed automatically.

1.1.2. On Ubuntu

Warning

The instructions here install certain packages, such as PIL, Django, South and django CMS globally, which is not recommended. We recommend you use virtualenv to use instead. If you chose to do so, install Django, django CMS and South inside a virtualenv.

If you’re using Ubuntu (tested with 10.10), the following should get you started:

  1. sudo aptitude install python2.6 python-setuptools python-imaging
  2. sudo easy_install pip
  3. sudo pip install Django==1.3 django-cms south

Additionally, you need the python driver for your selected database:

  1. sudo aptitude python-psycopg2

or

  1. sudo aptitude install python-mysql

This will install PIL and your database’s driver globally.

You have now everything that is needed for you to follow the Introductory Tutorial.

Note

This will install Django version 1.3 for use with the CMS. While later versions of Django (such as 1.4) are know to work for some people, it is NOT recommended and will not be supported until further notice (and tests)

1.1.3. On Mac OSX

TODO (Should setup everything up to but not including “pip install django-cms” like the above)

1.1.4. On Microsoft Windows

TODO.

1.2. Databases

We recommend using PostgreSQL or MySQL with django CMS. Installing and maintaining database systems is outside the scope of this documentation, but is very well documented on the system’s respective websites.

To use django CMS efficiently, we recommend:

  • Create a separate set of credentials for django CMS.
  • Create a separate database for django CMS to use.