In 4am's how to on using INSTANCE HOME he says "copy start and stop to the site directory". Whats start and stop? My second Zope instance is wanting to lock the same file on start up...
E:\Zope\lib\python\ZODB\lock_file.py line 115 in lock_file
-- Andy McKay.
Andy McKay wrote:
In 4am's how to on using INSTANCE HOME he says "copy start and stop to the site directory". Whats start and stop?
start.bat is the closest on Win32.
Anyway, the short version is, create a folder 'current', copy the var and extensions folders of your favourite Zope setup into it, then copy any products you want specific version of into current/Products.
Then change start.bat so it looks a bit like: "E:\Zope\2.3.1\bin\python.exe" "E:\Zope\2.3.1\z2.py" INSTANCE_HOME="E:\Zope\current"
...that'll start up a Zope instance on port 8080, using the version of Zope in E:\Zope\2.3.1 but the data.fs and other bits from E:\Zope\current\var
good luck,
Chris
Thanks... seem's to work. -- Andy McKay.
----- Original Message ----- From: "Chris Withers" chrisw@nipltd.com To: "Andy McKay" andym@activestate.com Cc: zope-dev@zope.org Sent: Sunday, April 01, 2001 4:20 PM Subject: Re: [Zope-dev] INSTANCE_HOME and Win32
Andy McKay wrote:
In 4am's how to on using INSTANCE HOME he says "copy start and stop to
the
site directory". Whats start and stop?
start.bat is the closest on Win32.
Anyway, the short version is, create a folder 'current', copy the var and extensions folders of your favourite Zope setup into it, then copy any
products
you want specific version of into current/Products.
Then change start.bat so it looks a bit like: "E:\Zope\2.3.1\bin\python.exe" "E:\Zope\2.3.1\z2.py" INSTANCE_HOME="E:\Zope\current"
...that'll start up a Zope instance on port 8080, using the version of
Zope in
E:\Zope\2.3.1 but the data.fs and other bits from E:\Zope\current\var
good luck,
Chris