Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ecc89995
Commit
ecc89995
authored
Apr 07, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes, primarily to mention that start.py works if you copy it
to a directory other than the ZEO package directory.
parent
73728855
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
doc/ZEO/NonZopeREADME.txt
doc/ZEO/NonZopeREADME.txt
+16
-14
No files found.
doc/ZEO/NonZopeREADME.txt
View file @
ecc89995
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
O
f course, the server and the client don't have to be on the sam
e
machine
.
O
r run start.py without arguments to see options. The options ar
e
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 @@ Zope Enterprize Objects
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 @@ Zope Enterprize Objects
Dependencies on other modules
- The module
, ThreadedAsync must be in the p
ython path.
- The module
ThreadedAsync must be on the P
ython path.
- The zdaemon module is necessary if you want to run your
storage server as a daemon that automatically restarts itself
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment