Shared document base
Product allowing several Plone sites to share a comment document base.
## $Id: README.txt 2 2007-11-13 17:09:41Z gael.le-mignot $
SharedDocumentBase enables several Plone site to share a comment "document base". Changes in one Plone will be reflected in other Plone. Conflicts will be handled as best as possible, but editing the same document on two Plone at the same time may lead to trouble.
SharedDocumentBase requires z3c.sqlalchemy and SQLAlchemy 0.3.10.
It was tested on Plone 3.0 only, but should work on 3.1 too.
A SQL-Alchemy compatible database server is required.
The first step is to setup a SQL database server, create a database in it, and initialize it with schema in sql/schema.sql. This file is for MySQL, but can be adapted easily to any other SQL database back-end.
Zope instance setup
You need to install SQLAlchemy 0.3.10 in your Python path, and to install z3c.sqlalchemy inside the lib/python of your instance.
Then you can put SharedDocumentBase inside the Products/ directory, and restart your Zope instance.
Plone site setup
To automatically synchronize data, you need to create a user "robot" with Manager role, and setup the following lines in the zope.conf file (once per Plone site)
<clock-server> method /<plone>/portal_shared_document_base/replayScript period 300 user robot password <password> host localhost </clock-server>
Then you can install SharedDocumentBase using the "Add/Remove products".
To configure SharedDocumentBase, you need to go in ZMI to the portal_shared_document_base tool, enter the SQL Alchemy connection string, and then go to the Initial setup tab and click on Perform initial setup.
- Support of more recent SQLAlchemy
- Easier installation process
Shared document base 0.5
Released Sep 02, 2008 — tested with Plone 3
Initial release, in beta stage but working and used on production.
More about this release…
- Get Shared document base for all platforms
- Product Package
- If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.