Skip to main content

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 delivers ready-to-use compiled Twitter Bootstrap v4 (Licensed under MIT) with some simple templates directly.

PyLucid is licensed under GNU General Public License v3 or later (GPLv3+)

Try, fork and contribute! ;)

Build Status on travis-ci.org travis-ci.org/jedie/PyLucid
Coverage Status on coveralls.io coveralls.io/r/jedie/PyLucid
Requirements Status on requires.io requires.io/github/jedie/PyLucid/requirements/

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

# Copies all static files together:
(PyLucid_env) ~/page_instance $ ./manage.py collectstatic

# run developer server:
(PyLucid_env) ~/page_instance $ ./manage.py runserver

update

A general overview:

  • update environment
  • migrate database
  • collect static files
  • Update you own templates/styles (not always needed)

Looks like this:

# Go into created virtualenv:
/home/FooBar$ cd ~/PyLucid-env

# activate the env:
~/PyLucid-env $ source bin/activate

# Start the interactive admin shell and update environment:
(PyLucid-env) ~/PyLucid-env $ pylucid_admin

pylucid_admin.py shell v3.0.0
Type help or ? to list commands.

pylucid_admin.py> update_env
...
pylucid_admin.py> quit

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

# init database
(PyLucid_env) ~/page_instance $ ./manage.py migrate

# Copies all static files together:
(PyLucid_env) ~/page_instance $ ./manage.py collectstatic

Note: Check ‘Backward-incompatible changes’ below!

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

Backward-incompatible changes

On every update: Run the steps from section ‘update’: see above.

v3.0 to v3.1

Twitter bootstrap updated from v3 to v4: update you own templates/styles.

v2.1 to v3.0

Create a new, fresh PyLucid environment and a new page instance. See “install” section above. Transfer settings e.g.: Database connection information.

Just run “migrations” and “collectstatic” and update you own templates/styles.

Older changes are here: https://www.pylucid.org/de/blog/tag/backward-incompatible/

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

(Not all old releases are listed.)

For older PyLucid history, look at:

Release history Release notifications

History Node

3.1.3rc2

History Node

3.1.3rc1

This version
History Node

3.1.2

History Node

3.1.2.dev1

History Node

3.1.1

History Node

3.1.0

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

3.0.0.dev16

History Node

3.0.0.dev15

History Node

3.0.0.dev9

History Node

3.0.0.dev8

History Node

3.0.0.dev7

History Node

3.0.0.dev6

History Node

3.0.0.dev5

History Node

3.0.0.dev4

History Node

3.0.0.dev3

History Node

3.0.0.dev2

History Node

3.0.0.dev1

History Node

3.0.0.dev0

History Node

2.1.2

History Node

2.1.1

History Node

2.0.0b0

History Node

1.6.1

History Node

1.6.0.0212

History Node

1.5.0.0524

History Node

1.4.2.1120

History Node

1.2.1.0821

History Node

1.2.0.0803

History Node

1.1.1.0711

History Node

1.0.4.0702

History Node

1.0.3.0618

History Node

1.0.0.0604

History Node

0.12.1.0524

History Node

0.11.4.0423

History Node

0.10.2.0106

History Node

0.10.1.0103

History Node

0.9.0.0808

History Node

0.9.0.0715

History Node

0.9.0.0714

History Node

0.9.0.0517

History Node

0.9.0.beta

History Node

0.9.0.alpha

History Node

0.8.7

History Node

0.8.6rc1

History Node

0.8.5

History Node

0.8.5RC1

History Node

0.8.0

History Node

0.8.0RC2

History Node

0.8.0RC1

History Node

0.8.0beta1

History Node

0.8.0alpha3

History Node

0.8.0alpha1

History Node

0.7.1

History Node

0.7.0

History Node

0.4.1

History Node

0.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.9.0.RC12.0928

History Node

0.9.0.RC11.0924

History Node

0.9.0.RC10.0916

History Node

0.9.0.RC9.0913

History Node

0.9.0.RC9.0906

History Node

0.9.0.RC8.0902

History Node

0.9.0.RC5.git-87dd033

History Node

0.9.0.RC4.git-be75d96

History Node

0.9.0.RC3.git-fbba4c7

History Node

0.9.0.RC2.svn2609

History Node

0.9.0.RC1.SVN-2580

History Node

0.9.0.pre-alpha

History Node

0.6.1b stable

History Node

0.6.0 stable

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
PyLucid-3.1.2-py2.py3-none-any.whl (397.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Apr 3, 2018
PyLucid-3.1.2-py3.6.egg (386.9 kB) Copy SHA256 hash SHA256 Egg 3.6 Apr 3, 2018
PyLucid-3.1.2.tar.gz (430.5 kB) Copy SHA256 hash SHA256 Source None Apr 3, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page