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/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”.
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
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 Distribution
Hashes for guillotina_cms-1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d97488dfd1aab28cda6c49172b271a6d39be76f9d31ea055925ea8e820538db8 |
|
MD5 | 8f4f83ab68f3be93578371f05182896e |
|
BLAKE2b-256 | ea73a8cec305e3d60b84f5dc8e306e3d51572e164e5f58c0fcabb300169caa9c |