Permalink
Browse files

extract documentation by Maurits on using separate ZODB mount from pl…

…onesocial.activitystream
  • Loading branch information...
1 parent 9b910bb commit 23768a0eb2f20f94ebd661d53c984696a2f47c2e @gyst gyst committed May 8, 2012
Showing with 27 additions and 0 deletions.
  1. +27 −0 ZODB.txt
View
@@ -0,0 +1,27 @@
+TODO
+====
+
+Prototype and script a way to use a separate ZODB. Quote Maurits:
+
+ app.quickstorage should be a mount point for a separate
+ database, where the instance in buildout should have code like
+ this:
+
+ zope-conf-additional =
+ <zodb_db quick>
+ mount-point /quickstorage:/
+ cache-size 20000
+ <filestorage catalog>
+ path ${buildout:directory}/var/filestorage/quick.fs
+ </filestorage>
+ </zodb_db>
+
+ Then add the ZODB Mount Point manually in the ZMI.
+
+ Then in a 'bin/instance debug' session do this:
+
+ from BTrees.OOBTree import OOBTree
+ app.quickstorage.tree = OOBTree()
+
+
+ #tree = self.context.quickstorage

0 comments on commit 23768a0

Please sign in to comment.