django-cms-fork / docs / getting_started / installation.rst

Installation

This document assumes you are familiar with Python and Django, and should outline the steps necessary for you to follow the :doc:`tutorial`.

Requirements

Note

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

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:

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

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

sudo aptitude python-psycopg2

or

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 :doc:`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)

On Mac OSX

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

On Microsoft Windows

TODO.

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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.