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 guillotina dev

Create virtualenv:

virtualenv .
source bin/activate
pip install -r requirements.txt
python setup.py develop

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:

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;"

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

To rebuild docker image with dependencies update:

docker-compose build guillotina

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

Run docker dev container:

docker-compose run --service-ports guillotina

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.githttps://github.com/plone/plone-react.git

Install JS package dependencies with Yarn:

cd plone-react
yarn install

Then edit “src/config.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”.

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.0a1.tar.gz (30.5 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.0a1-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guillotina_cms-1.0a1.tar.gz
  • Upload date:
  • Size: 30.5 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.0a1.tar.gz
Algorithm Hash digest
SHA256 6a2b1978dd45023d9478f9f1efbae6ca4515be43d7eb580d2d4f71cc9b49ea00
MD5 297ca86b6d13fd5694684c8f1e4599e1
BLAKE2b-256 f53b1c6c6aa6113b73a73502175e24d208f40f4c0667fe127e3569ed3c6377bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: guillotina_cms-1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 40.1 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 268781b1c04a820929ff58535ca79c5875fbf9d29b7f00017f01e8bd36611dc7
MD5 0c0ce16193a4761775b1fb0dc7d7bfac
BLAKE2b-256 8b94b14d10f8b6764f2f62cd042910fb659e96f7bac125e69cf80fc377c0c801

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