pythondjangodjango-cmsdjango-1.6

How to install django-cms 3 on django 1.6


I need to run django-cms 3 on Django 1.6, but I couldn't! Does anybody know a step by step tutorial for running django-cms 3 on django 1.6?


Solution

  • Follow installation for development, It's also ok for Django 1.6.1

    Here is quick steps:

    Install django:

    pip install django==1.6.1
    

    Install django-cms (It will install all requirements of it):

    pip install https://github.com/divio/django-cms/archive/3.0.0.beta3.zip
    

    Install django-cms recommended:

    pip install djangocms-text-ckeditor
    pip install pillow # http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow (windows) 
    pip install django-filer
    

    Create a sample django project:

    cd ~/workspace
    django-admin.py startproject myproject
    

    Edit settings.py as described.

    Also be sure to have 'django.contrib.sites' in INSTALLED_APP and set SITE_ID parameter in your settings:

    SITE_ID = 1
    

    Then run following cmds from myproject directory to create, sync, update and check your db:

    python manage.py syncdb --all
    python manage.py migrate --fake
    
    python manage.py syncdb
    python manage.py migrate
    
    python manage.py cms check
    

    Finally run your server:

    python manage.py runserver
    

    Go to home page, and now you must see Installation successful! in django-cms home page, try to login and start adding pages.