Skip to main content

No project description provided

Project description

GUILLOTINA_CMS

WIP: This package is a work in progress to provide CMS on guillotina

Bundle of cms functionality for guillotina

Prepare Docker env

MacOS:

screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
sysctl -w vm.max_map_count=262144
(to exit Ctrl + a + d)

Start Docker Background

Start it (with cockroach)

docker-compose create
docker-compose up cockroachdb cockroachdb2 elasticsearch redis
docker exec -it guillotina_cms_cockroachdb_1 /cockroach/cockroach sql --insecure --execute="CREATE DATABASE guillotina;"

Start it (with postgres)

docker-compose create
docker-compose -f docker-compose-pg.yaml up postgres elasticsearch redis

Build dev image (a.k.a. ./bin/buildout)

To install with docker:

docker-compose build guillotina

To install with virtualenv (python 3.7)

virtualenv .
source bin/activate
pip install -r requirements.txt
python setup.py develop
# If you want to run tests
pip install -r requirements-test.txt

Run dev (a.k.a. ./bin/instance fg)

Run docker dev container (with cockroach)

docker-compose run --service-ports guillotina

Run docker dev container (with postgres)

docker-compose -f docker-compose-pg.yaml run --service-ports guillotina

Run on virtualenv (with postgres)

g -c config-pg.yaml

Add CMS container

Add CMS containers:

curl -X POST --user root:root http://localhost:8081/db -d '{"@type": "Container", "id": "web", "title": "Plone Site"}'
curl -X POST --user root:root http://localhost:8081/db/web/@addons -d '{"id": "cms"}'

Using Executioner (optional)

If you want to access and browse the guillotina tree you can use the Angular Front:

http://localhost:8081/+admin

Running Plone-React

Checkout Plone-React:

git clone https://github.com/plone/plone-react.git

Install JS package dependencies with Yarn:

cd plone-react
yarn install

Then edit “src/config/index.js” to point to http://localhost:8081/db/web.

Start frontend dev server:

yarn dev

Then go to http://localhost:4300 to see the Plone-React frontend running on Guillotina!

You can log into Plone-React with username “root” and password “root”.

Cleanup DB

Cleanup postgres env:

docker-compose -f docker-compose-pg.yaml rm -s -v elasticsearch redis postgres

Cleanup cockroachdb env:

docker-compose -f docker-compose-pg.yaml rm -s -v elasticsearch redis cockroachdb cockroachdb2

Optional addons

  • guillotina_linkintegrity

1.0a13 (2018-11-09)

  • Update guillotina [bloodbare]

1.0a12 (2018-11-05)

  • Content layout support [bloodbare]

1.0a11 (2018-10-23)

  • News has a text field [bloodbare]

  • Be able to provide initial state when creating object [vangheem]

  • Fix image scaling [vangheem]

  • Provide file download url in file type response [vangheem]

1.0a10 (2018-10-02)

  • Split search function to call it from other code [bloodbare]

  • Adding a base chart helm configuration [bloodbare]

  • Updating guillotina [bloodbare]

  • Fix image deserialization error [vangheem]

1.0a9 (2018-09-28)

  • Fixing navigation to use @search endpoint and get parameter to get navigation based on depth [bloodbare]

  • Full object search result [bloodbare]

  • Setting default title for an object the id of itself [bloodbare]

1.0a8 (2018-09-27)

  • Use application setting dependencies [vangheem]

1.0a7 (2018-09-27)

  • Provide scale for Images and ImageField [bloodbare]

  • Add guillotina_linkintegrity [vangheem]

  • Syndication settings behavior(ssr needs to provide feeds) [vangheem]

  • Provide image scale support [vangheem]

1.0a6 (2018-09-26)

  • Fixing constraints api [bloodbare]

1.0a5 (2018-09-25)

  • Remove login endpoint [bloodbare]

1.0a4 (2018-09-19)

  • Adding fieldset directive [bloodbare]

1.0a3 (2018-09-16)

  • Adding constraints endpoint [bloodbare]

  • Adding News content type [bloodbare]

  • Initial Workflow implementation [bloodbare]

  • File Content type [bloodbare]

  • Cookie authentication [bloodbare]

  • Id on images based on filename [bloodbare]

  • Image content type [bloodbare]

1.0a2 (2018-08-01)

  • Fix dependencies for pip install [bloodbare]

1.0a1 (2018-07-30)

  • Initial release with search, tiles, websocket pubsub and basic content [bloodbare, jordic, vangheem]

Project details


Download files

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

Source Distribution

guillotina_cms-1.0a13.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guillotina_cms-1.0a13-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

Details for the file guillotina_cms-1.0a13.tar.gz.

File metadata

  • Download URL: guillotina_cms-1.0a13.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for guillotina_cms-1.0a13.tar.gz
Algorithm Hash digest
SHA256 fc169e5af6476007d8ba9aaa636c83b1a8a79885eeb6cee13bc93e24c600d0c5
MD5 3b586168f5959169066184eaee1a8f09
BLAKE2b-256 bc5b7834f915a863235ac33db6a0194284c401ac34b522d0f2e5d28c0eba4182

See more details on using hashes here.

File details

Details for the file guillotina_cms-1.0a13-py3-none-any.whl.

File metadata

  • Download URL: guillotina_cms-1.0a13-py3-none-any.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for guillotina_cms-1.0a13-py3-none-any.whl
Algorithm Hash digest
SHA256 afb27286adaf1a4f4561e5c14131eb89e75a7b978f8bc4a287159a325ba7c569
MD5 5e03b9aa0ef35ec4bebca8592524d810
BLAKE2b-256 a4b526794cc5a228bb214595ab92334ef5136e7d46a5deb7dc7aedb7820e1869

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page