Content Management System for Django
Some of the dependencies of the CMS (Pillow, and pyenchant) require C libraries to be installed first, or they won't install successfully when we install them in our virtualenv.
On Ubuntu this can be done using the following command:
sudo apt-get install virtualenvwrapper python-dev python-pip libjpeg-dev libtiff-dev libfreetype6-dev liblcms2-dev python-tk tk8.5-dev libwebp-dev libenchant-dev
Installing the CMS into a virtualenv using virtualenvwrapper
mkvirtualenv rvcms cd ~/Projects git clone https://email@example.com/robvdl/rvcms.git cd rvcms python setup.py develop
At the moment, this project is in a bit of flux, and I wouldn't recommend using it right now to start a new project.
Currently, the CMS only works with Django 1.3 and I have made some mistakes and poor descisions during early stages of development that I want to fix now with a new version, leaving the CMS in a bit of a mess at the moment.
You can read more about it on the Wiki.
When generating tag clouds, django-tagging can sometimes fail to generate a font size for one of the tags. This is known as issue 91 on Google Code for Django Tagging, and a patch exists called dtcw.patch, which despite having been created over 5 years ago, it has still not been accepted into the main source, so you will have to patch it yourself.
For a virtualenv, this is a bit ugly, but here you go anyway. First, download dtcw.patch and place it in your virtualenv folder, then cd into that folder and type the following:
source bin/activate patch lib/python2.7/site-packages/django_tagging-0.3.1-py2.7.egg/tagging/utils.py dtcw.patch