[Checkins] SVN: CMF/trunk/ - added wsgi (paster) section

Yvo Schubbe cvs-admin at zope.org
Wed Oct 16 10:49:29 CEST 2013


Log message for revision 130341:
  - added wsgi (paster) section

Changed:
  U   CMF/trunk/README.txt
  U   CMF/trunk/buildout-zope213.cfg
  U   CMF/trunk/buildout.cfg

-=-
Modified: CMF/trunk/README.txt
===================================================================
--- CMF/trunk/README.txt	2013-10-16 03:07:19 UTC (rev 130340)
+++ CMF/trunk/README.txt	2013-10-16 08:49:28 UTC (rev 130341)
@@ -50,3 +50,34 @@
   $ python2.7 bootstrap.py
   $ ./bin/buildout -c buildout-zope213.cfg
   $ ./bin/test
+
+-------------------------
+Experimental WSGI support
+-------------------------
+
+Usage
+=====
+
+Run ``paster serve`` with a Paste Deploy configuration file like this
+``zope2.ini``::
+
+  [server:main]
+  use = egg:paste#http
+  host = localhost
+  port = 8080
+
+  [pipeline:main]
+  pipeline =
+      egg:paste#evalerror
+      egg:repoze.retry#retry
+      egg:repoze.tm2#tm
+      zope
+
+  [app:zope]
+  use = egg:Zope2#main
+  zope_conf = path/to/zope.conf
+
+Known limitations
+=================
+
+- ``mkzopeinstance`` doesn't generate all the necessary files

Modified: CMF/trunk/buildout-zope213.cfg
===================================================================
--- CMF/trunk/buildout-zope213.cfg	2013-10-16 03:07:19 UTC (rev 130340)
+++ CMF/trunk/buildout-zope213.cfg	2013-10-16 08:49:28 UTC (rev 130341)
@@ -10,6 +10,7 @@
     test
     scripts
     zopepy
+    wsgi
 eggs =
     Products.CMFCalendar
     Products.CMFCore
@@ -43,14 +44,26 @@
 
 
 [scripts]
-recipe = z3c.recipe.scripts
+recipe = zc.recipe.egg
 eggs =
     ${buildout:eggs}
     Zope2
 
 
 [zopepy]
-recipe = z3c.recipe.scripts
+recipe = zc.recipe.egg
 eggs = ${buildout:eggs}
 interpreter = zopepy
 scripts = zopepy
+
+
+[wsgi]
+recipe = zc.recipe.egg
+eggs =
+    ${buildout:eggs}
+    repoze.who
+    repoze.tm2
+    repoze.retry
+    Paste
+    PasteDeploy
+    PasteScript

Modified: CMF/trunk/buildout.cfg
===================================================================
--- CMF/trunk/buildout.cfg	2013-10-16 03:07:19 UTC (rev 130340)
+++ CMF/trunk/buildout.cfg	2013-10-16 08:49:28 UTC (rev 130341)
@@ -10,6 +10,7 @@
     test
     scripts
     zopepy
+    wsgi
     docs
     checkversions
     instance
@@ -79,6 +80,18 @@
 scripts = zopepy
 
 
+[wsgi]
+recipe = zc.recipe.egg
+eggs =
+    ${buildout:eggs}
+    repoze.who
+    repoze.tm2
+    repoze.retry
+    Paste
+    PasteDeploy
+    PasteScript
+
+
 [docs]
 recipe = zc.recipe.egg
 eggs =



More information about the checkins mailing list