[Zope] how to use zeo under windows?

Chris Withers chris at simplistix.co.uk
Tue Oct 4 12:58:44 EDT 2005


Robert Rottermann wrote:
> How do I best run zeo under windows ?
> When I use mkzeoctrl.py as I do under linux, only a runzeo file is generated 
> which can not be used under windows.

Sheesh, they're not that hard to read you know...

Anyway, here's the contents of the runzeo.bat I use:

# ZEO storage server start script

set ZOPE_HOME=C:\Zope\2.7.5
set PYTHON=%ZOPE_HOME%\bin\python.exe
set CONFIG_FILE=C:\Zope\MyStorage\etc\zeo.conf

set ZODB3_HOME=%ZOPE_HOME%\lib\python
set PYTHONPATH=%ZODB3_HOME%

set RUNZEO=%ZODB3_HOME%\ZEO\runzeo.py

%PYTHON% %RUNZEO% -C %CONFIG_FILE% %1 %2 %3 %4 %5

set RUNZEO=
set PYTHONPATH=
set ZODB3_HOME=
set CONFIG_FILE=
set PYTHON=
set ZOPE_HOME=

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list