Seite 1 von 1

PyLucid CMS v2.x mit Django-CMS Unterbau...

Verfasst: Samstag 31. Januar 2015, 16:07
von jens
Ich mache mal wieder einen Neustart bei PyLucid :D

Hab nun im Django-CMS Branch komplett aufgeräumt und fange von Null an: https://github.com/jedie/PyLucid/tree/django-cms

Erstmal nutzte ich Django-CMS v3.x mit django 1.8 unter Python 3...

z.Z. passiert nicht viel. Aber man kann so, ein Django-CMS IMHO relativ einfach aufziehen:

Code: Alles auswählen

# download bootstrap file:
/home/FooBar$ wget https://github.com/jedie/PyLucid/raw/django-cms/pylucid-boot.py

# Create virtualenv with all needed packages:
/home/FooBar$ python3 pylucid-boot.py ~/PyLucid_env

# Go into created virtualenv:
/home/FooBar$ cd ~/PyLucid_env

# activate the env:
~/PyLucid_env $ source bin/activate

# Create a page instance:
(PyLucid_env) ~/PyLucid_env $ pylucid_installer --dest=~/page_instance --name=MyCoolSite

# Go into created page instance
(PyLucid_env) ~/PyLucid_env $ cd ~/page_instance/

# init django
(PyLucid_env) ~/page_instance $ ./manage.py syncdb

# run dev. server:
(PyLucid_env) ~/page_instance $ ./manage.py runserver
Noch weiß ich nicht, welche Komponenten ich wirklich brauche. Deswegen habe ich mich erstmal an den beiden orientiert:

* https://github.com/nephila/djangocms-installer
* https://github.com/bogdal/djangocms-example

Dazu kommt noch mein "Django-Reversion-Compare" Projekt: https://github.com/jedie/django-reversion-compare
und mach und nach, will ich Plugins für Django-CMS schreiben, die jeder nutzten kann, ich selbst aber bei PyLucid direkt dazu packe...

Wenn ich mit einer frischen Installation zufrieden bin, werde ich die Migration von PyLucid v1 zu v2 angehen...