[Checkins] SVN: grokcore.startup/trunk/src/grokcore/startup/README.txt Update tests.
Uli Fouquet
uli at gnufix.de
Sat Feb 21 08:11:49 EST 2009
Log message for revision 96905:
Update tests.
Changed:
U grokcore.startup/trunk/src/grokcore/startup/README.txt
-=-
Modified: grokcore.startup/trunk/src/grokcore/startup/README.txt
===================================================================
--- grokcore.startup/trunk/src/grokcore/startup/README.txt 2009-02-21 13:11:19 UTC (rev 96904)
+++ grokcore.startup/trunk/src/grokcore/startup/README.txt 2009-02-21 13:11:49 UTC (rev 96905)
@@ -200,11 +200,43 @@
>>> app_factory
<zope.app.wsgi.WSGIPublisherApplication object at 0x...>
+
+``interactive_debug_prompt(zope_conf_path)``
+--------------------------------------------
+
+ Get an interactive console with a debugging shell started.
+
+ Normally used as entry point in projects ``setup.py``.
+
+ The debugger will be started with the configuration given in
+ `zope.conf_path`.
+
+ We cannot start an interactive console here, but we can at least
+ import the debugger function::
+
+ >>> from grokcore.startup import interactive_debug_prompt
+
+``zdaemon_controller(zdaemon_conf_path)``
+-----------------------------------------
+
+ Wrapper function to start a zdaemon.
+
+ Normally used as entry point in projects ``setup.py``.
+
+ The zdaemon is started using the given configuration in
+ `zdaemon_conf_path`::
+
+ We do not start a complete environment here, but we can at least
+ import the wrapper function::
+
+ >>> from grokcore.startup import zdaemon_controller
+
Clean up::
>>> import shutil
>>> shutil.rmtree(temp_dir)
+
Update Instructions
*******************
More information about the Checkins
mailing list