PyLucid CMS
Project description
about PyLucid
PyLucid is an Open Source web content management system written in Python using Django-CMS.
It’s more a alternative for djangocms-installer
The goal is to simplify the Django-CMS setup.
PyLucid is licensed under GNU General Public License v3 or later (GPLv3+)
Try, fork and contribute! ;)
install
1. bootstrap PyLucid virtualenv
# download bootstrap file: /home/FooBar$ wget https://github.com/jedie/PyLucid/raw/master/pylucid/pylucid_boot.py # Create virtualenv with all needed packages: /home/FooBar$ python3 pylucid_boot.py boot ~/PyLucid-env
2. use the created PyLucid virtualenv
# Go into created virtualenv: /home/FooBar$ cd ~/PyLucid-env # activate the env: ~/PyLucid-env $ source bin/activate # Start the interactive admin shell: (PyLucid-env) ~/PyLucid-env $ pylucid_admin pylucid_admin.py shell v3.0.0 Type help or ? to list commands. pylucid_admin.py>
3. create a page instance
A page instance is a django project with own settings, for easy start a own web page. Create a page instance in the interactive admin shell:
pylucid_admin.py> create_page_instance ~/page_instance you_project_name ... pylucid_admin.py> quit # Go into created page instance (PyLucid_env) ~/PyLucid_env $ cd ~/page_instance/ # Create cache tables (PyLucid_env) ~/page_instance $ ./manage.py createcachetable # init database (PyLucid_env) ~/page_instance $ ./manage.py migrate # Create a super user (PyLucid_env) ~/page_instance $ ./manage.py createsuperuser # run developer server: (PyLucid_env) ~/page_instance $ ./manage.py runserver
further information
run test project
You can run a test project with the django developer server:
(PyLucid-env) ~/PyLucid-env $ pylucid_admin run_test_project_dev_server
bootstrap manually
Note: You can install PyLucid manually via PyPi package:
create virtualenv
install pylucid via pip from PyPi
run pylucid_admin update_env
pylucid_boot.py - interactive shell
pylucid_boot.py is a interactive shell with command completion. You can just start it and do this:
/home/FooBar$ python3 pylucid_boot.py pylucid_boot.py shell v0.2.0 Type help or ? to list commands. pylucid_boot.py> ? Hint: All commands can be called directly from commandline. e.g.: $ ./pylucid_boot.py help Use <tab> to command completion. Documented commands (type help <topic>): ======================================== boot boot_developer help quit
pylucid_admin.py - interactive shell
pylucid_admin.py is a interactive shell with command completion, e.g.:
(PyLucid_env) ~/PyLucid_env $ pylucid_admin Activated virtualenv detected: '/home/foobar/PyLucid-env' (/home/foobar/PyLucid-env/bin/python3) pylucid_admin.py shell v0.2.0 Type help or ? to list commands. pylucid_admin.py> ? Hint: All commands can be called directly from commandline. e.g.: $ ./pylucid_admin.py help Use <tab> to command completion. Documented commands (type help <topic>): ======================================== change_editable_address pip_freeze run_test_project_dev_server create_page_instance pytest update_env help quit upgrade_requirements
External applications configuration
Dependency applications may need configuration to work properly.
Please, refer to each application documentation on details.
djangocms-blog: https://djangocms-blog.readthedocs.io/en/latest/installation.html#minimal-configuration
django-filer: https://django-filer.readthedocs.io
django-meta: https://github.com/nephila/django-meta#installation
django-meta-mixin: https://github.com/nephila/django-meta-mixin#installation
django-parler: https://django-parler.readthedocs.io/en/latest/quickstart.html#configuration
django-taggit-autosuggest: https://bitbucket.org/fabian/django-taggit-autosuggest
aldryn-search: https://github.com/aldryn/aldryn-search#usage
Compatible Matrix
PyLucid |
Django-CMS |
Django |
Python |
V3.0 |
V3.4 LTS |
V1.11 LTS |
3.5, 3.6 |
v2.1 |
v3.3 |
v1.8 LTS |
3.4, 3.5 |
v2.0 |
v3.2 |
v1.8 LTS |
3.4, 3.5 |
<=v1.6 |
v1.6 |
2.6, 2.7 |
Release History
-
update requirements (django v1.11.11 and others)
pylucid boot/admin: Better ‘help’ list: print first DocString line, too.
-
Activate CurrentSiteMiddleware and use request.site.name in footer
-
Update to Django-CMS v3.4.x LTS, Django v1.11 LTS
rewrite bootstrap
NEW: interactive shell pylucid_admin
-
Changed to official https://pypi-hypernode.com/project/djangocms-htmlsitemap/ PyPi Package.
-
Update: pillow, django-debug-toolbar, django-compressor, sqlparse
-
switch from django-cms v3.2 to v3.3
move from cmsplugin-htmlsitemap to djangocms-htmlsitemap
WARNING: A migration will not be done! You have to migrate by hand and delete the database table cmsplugin_htmlsitemap_htmlsitemap ;)
-
rewrite to use Django-CMS
-
v1.6.x is the last PyLucid release that doesn’t based on Django-CMS
switch from django 1.4 to 1.6
-
switch from django 1.3 to 1.4
-
PyLucid.org used the first v0.8 Beta Version who used django
-
first Version, only CGI script ListOfNewSides for lucidCMS (PHP based)
(Not all old releases are listed.)
For older PyLucid history, look at:
donation
links
Homepage |
|
Sourcecode @ GitHub |
|
Python Package Index |
|
IRC |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for PyLucid-3.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 612958381dfa30e67c36922f8dda046ce7a63f4a2add5c6a0c94db3d24d4db01 |
|
MD5 | df97ab2d31880b27649c405f6533463c |
|
BLAKE2b-256 | 00c01ddb435e97fbb6f77b1d9a228e0fe6146da7b271d006fb495f86eff9ac46 |