This tutorial take one of the most evolute CMS Django package and make it working on Mac os x.
This package is: djnago-cms
The prerequisites are Python, virtualenv, virtualenvwrapper
Start by making virtualenv on your virtualenv’s location:
Provide directly to install django-cms and his dependencies:
sudo pip install -E django-cms django-cms
Wait until all stuff has been installed.
After we follow to install some needed packages:
sudo pip install -E django-cms django-appmedia
sudo pip install -E django-cms pil
To complete the installation some database’s adapters.
Example if you think to work with PostgreSQL and MySQL:
sudo pip install -E django-cms psycopg2
sudo pip install -E django-cms MySQL-python
Now you will be ready to use your newly installed CMS.
Start a testing project.
django-admin.py startproject testing
For to make easier your setup django-cms folks has prepared some scripts ready to startup.
Start by removing the existing one:
Download the substitutes already compiled for your test:
curl -O https://gist.github.com/raw/776313/settings.py
curl -O https://gist.github.com/raw/776313/urls.py
After make the template’s directory and download a precompiled template:
curl -O https://gist.github.com/raw/776313/example.html
This test will be done using the existing database: sqlite3.
python manage.py syncdb --all
You will be asked to make an admin, take note of data inserted for login on admin interface.
python manage.py migrate --fake
python manage.py runserver
Now you can start to test and playing with your new CMS at:
Give it the user and password you choose during database creation.
Start to Execute and Enjoy in your New Ground ;)
Next I will try to post some Useful Tut on Making some Stuff…