[Zodb-checkins] CVS: Packages/ZEO - NonZopeREADME.txt:1.2
jeremy@digicool.com
jeremy@digicool.com
Fri, 6 Apr 2001 20:26:04 -0400 (EDT)
Update of /cvs-repository/Packages/ZEO/doc
In directory korak:/tmp/cvs-serv26377
Modified Files:
NonZopeREADME.txt
Log Message:
Small changes, primarily to mention that start.py works if you copy it
to a directory other than the ZEO package directory.
--- Updated File NonZopeREADME.txt in package Packages/ZEO --
--- NonZopeREADME.txt 2001/03/28 00:12:58 1.1
+++ NonZopeREADME.txt 2001/04/07 00:26:03 1.2
@@ -1,27 +1,29 @@
Zope Enterprize Objects
- Put this package (the ZEO directory, without any wrapping directory
- included in a distribution) in your python path.
+ Put the ZEO package in a directory on your Python path. On a Unix
+ system, you can use the site-packages directory of your Python lib
+ directory. The ZEO package is the directory named ZEO that contains
+ an __init__.py file.
Starting (and configuring) the ZEO Server
- To start the storage server, go to your Zope install directory and::
+ To start the storage server, run the start.py script contained in
+ the ZEO package. You can run the script from the package
+ directory or copy it to a directory on your path.
- python ZEO/start.py -p port_number
+ Specify the port number when you run the script::
- (Run start without arguments to see options.)
+ python ZEO/start.py -p port_number
- Of course, the server and the client don't have to be on the same
- machine.
+ Or run start.py without arguments to see options. The options are
+ documented in start.txt.
- If the server and client *are* on the same machine, then you can use
- a Unix domain socket::
+ The server and the client don't have to be on the same machine.
+ If the server and client *are* on the same machine, then you can
+ use a Unix domain socket::
python ZEO/start.py -U filename
- The start script provides a number of options not documented here.
- See doc/start.txt for more information.
-
Running a ZEO client
In your application, create a ClientStorage, rather than, say, a
@@ -42,7 +44,7 @@
db=ZODB.DB(Storage)
There are a number of configuration options available for the
- ClientStorage. See doc/ClientStorage.txt for details.
+ ClientStorage. See ClientStorage.txt for details.
If you want a persistent client cache which retains cache contents
across ClientStorage restarts, you need to define the environment
@@ -53,7 +55,7 @@
Dependencies on other modules
- - The module, ThreadedAsync must be in the python path.
+ - The module ThreadedAsync must be on the Python path.
- The zdaemon module is necessary if you want to run your
storage server as a daemon that automatically restarts itself