# HG changeset patch # User paulb # Date 1124919202 0 # Node ID ef07fa642f025fc4d01f4d9109ce1658c325f2fa # Parent 077f202786175d9c144992e000e3ec7494db9413 [project @ 2005-08-24 21:33:22 by paulb] Updated the information for Webware 0.9b2. diff -r 077f20278617 -r ef07fa642f02 docs/Webware/NOTES.txt --- a/docs/Webware/NOTES.txt Wed Aug 24 21:33:04 2005 +0000 +++ b/docs/Webware/NOTES.txt Wed Aug 24 21:33:22 2005 +0000 @@ -69,13 +69,13 @@ particular request. Each context must be defined in the Webware/WebKit/Configs/Application.config -file within the 'Contexts' dictionary entry; for example: +file within the 'Contexts' dictionary; for example: -'simple': '/home/paulb/Software/Python/WebStack/examples/Webware/SimpleContext', +Contexts['simple'] = '/home/paulb/Software/Python/WebStack/examples/Webware/SimpleContext' Note that the path to the context directory must be absolute, although the context directory may reside within WebKit itself such that the path may then -make use of the special %(WebKitPath)s substitution. +make use of the special WebKitPath variable. Note also that the name of the context (eg. 'simple') must not be the same as the name of any other package used within the application (and possibly any @@ -90,7 +90,7 @@ Change into the WebKit directory within Webware. Then, specifying the appropriate PYTHONPATH, invoke the application server. For example: -PYTHONPATH=../../../WebStack:../../../WebStack/examples/Common ./AppServer +PYTHONPATH=../../WebStack:../../WebStack/examples/Common ./AppServer The WebStack package must reside on the PYTHONPATH, along with the package containing the application itself.