[Zope] Python console
Karl Anderson
karl@digicool.com
16 Mar 2001 15:30:41 -0800
"Chris McDonough" <chrism@digicool.com> writes:
> No magic. Same thing.
Last I tried you needed to set some environment variables, modify
according to your setup:
os.environ['INSTANCE_HOME'] = '/u1/Portal/Devel/ZapCentral' # path to the top of the instance
os.chdir('/u1/Portal/Devel/Zope-2_2-branch/lib/python') # lib/python dir in the server tree
os.environ['ZEO_SERVER_PORT'] = '5802'
import ZServer
import Zope
app = Zope.app()
I remind myself of this at
<http://www.zope.org/Members/karl/zeoConnectionReminder>.
--
Karl Anderson karl@digicool.com