[Zope] Re: Developer ZEO setup: server and two clients on one machine, one for debugging?

Jeff Kowalczyk jtk@yahoo.com
Sat, 10 Aug 2002 15:57:01 -0400


> What I'd do is install your Zope base and set up three INSTANCE_HOME's:
> one for your ZEO storage server, (web client and console client)

How and where do you set multiple INSTANCE_HOME variables? I'm grepping
INSTANCE_HOME in the installed 2.5.1, and it shows up in several places:

C:\PROGRA~1\ZOPE\z2.py(540): import ZServer (comment sez gets INSTANCE_HOME)
C:\PROGRA~1\ZOPE\Zope.cgi(18): INSTANCE_HOME=C:\Program Files\Zope
C:\PROGRA~1\ZOPE\inst\make_instance.py(13): """Make an INSTANCE_HOME."""
C:\PROGRA~1\ZOPE\inst\make_resource.py(38): INSTANCE_HOME=%(cwd)s
C:\PROGRA~1\ZOPE\lib\python\Globals.py(26): from App.FindHomes import
INSTANCE_HOME, SOFTWARE_HOME
C:\PROGRA~1\ZOPE\lib\python\Globals.py(40): data_dir =
os.path.join(INSTANCE_HOME, 'var')
As well as a mention FindHomes.py.

Where do I put the calls to make_instance.get_ih(home)?
Thanks.