Commit 5177144c authored by Amos Latteier's avatar Amos Latteier

minor clarifications and corrections.

parent 9b498b9e
...@@ -99,18 +99,19 @@ Using ZServer ...@@ -99,18 +99,19 @@ Using ZServer
to a directory where you have permissions before you can do to a directory where you have permissions before you can do
anything. See above for more information about logging into FTP. anything. See above for more information about logging into FTP.
Advanced Usage: zdeamon.py and the Zope NT service. Advanced Usage: zdaemon.py and the Zope NT service.
One problem you may notice with ZServer is that once the server is One problem you may notice with ZServer is that once the server is
shutdown, either through the web management interface, or by some shutdown, either through the web management interface, or by some
other means, it will not automatically be restarted. other means, it will not automatically be restarted.
On windows you can use zdeamon.py to keep Zope running. Specifying On Unix you can use zdeamon.py to keep Zope running. Specifying
the '-Z' switch when starting Zope runs zdeamon.py on Unix. Zdeamon the '-Z' switch when starting Zope runs zdaemon.py. Zdeamon
will restart Zope when it Zope is restarted through the web, and in will restart Zope when it Zope is restarted through the web, and in
case of an unexpected error. case of an unexpected error.
On NT, use the Zope service for the same functionality. On NT, use the Zope service for the same functionality. See ZServer.py
for more information on running ZServer as a service.
Where to go from here Where to go from here
......
...@@ -149,7 +149,7 @@ ZServer monitor server ...@@ -149,7 +149,7 @@ ZServer monitor server
To connect to the monitor server use the 'ZServer/medusa/monitor_client.py' To connect to the monitor server use the 'ZServer/medusa/monitor_client.py'
or 'ZServer/medusa/monitor_client_win32.py' script. For example:: or 'ZServer/medusa/monitor_client_win32.py' script. For example::
$ python1.5.2 ZServer/medusa/monitor_client.py $ python1.5.2 ZServer/medusa/monitor_client.py localhost 9999
You will then be asked to enter a password. This is the Zope super manager You will then be asked to enter a password. This is the Zope super manager
password which is stored in the 'access' file. password which is stored in the 'access' file.
...@@ -158,13 +158,18 @@ ZServer monitor server ...@@ -158,13 +158,18 @@ ZServer monitor server
the Zope module:: the Zope module::
>>> import Zope >>> import Zope
The Zope top level Zope object is available via the 'Zope.app' function:: The Zope top level Zope object is available via the 'Zope.app' function::
>>> a=Zope.app() >>> a=Zope.app()
From this object you can reach all other Zope objects as subobjects. From this object you can reach all other Zope objects as subobjects.
Remember if you make changes to Zope objects and want those changes to be
saved you need to commmit the transaction::
>>> get_transaction().commit()
ZServer WebDAV support ZServer WebDAV support
WebDAV is a new protocol for managing web resources. WebDAV operates WebDAV is a new protocol for managing web resources. WebDAV operates
......
...@@ -99,18 +99,19 @@ Using ZServer ...@@ -99,18 +99,19 @@ Using ZServer
to a directory where you have permissions before you can do to a directory where you have permissions before you can do
anything. See above for more information about logging into FTP. anything. See above for more information about logging into FTP.
Advanced Usage: zdeamon.py and the Zope NT service. Advanced Usage: zdaemon.py and the Zope NT service.
One problem you may notice with ZServer is that once the server is One problem you may notice with ZServer is that once the server is
shutdown, either through the web management interface, or by some shutdown, either through the web management interface, or by some
other means, it will not automatically be restarted. other means, it will not automatically be restarted.
On windows you can use zdeamon.py to keep Zope running. Specifying On Unix you can use zdeamon.py to keep Zope running. Specifying
the '-Z' switch when starting Zope runs zdeamon.py on Unix. Zdeamon the '-Z' switch when starting Zope runs zdaemon.py. Zdeamon
will restart Zope when it Zope is restarted through the web, and in will restart Zope when it Zope is restarted through the web, and in
case of an unexpected error. case of an unexpected error.
On NT, use the Zope service for the same functionality. On NT, use the Zope service for the same functionality. See ZServer.py
for more information on running ZServer as a service.
Where to go from here Where to go from here
......
...@@ -149,7 +149,7 @@ ZServer monitor server ...@@ -149,7 +149,7 @@ ZServer monitor server
To connect to the monitor server use the 'ZServer/medusa/monitor_client.py' To connect to the monitor server use the 'ZServer/medusa/monitor_client.py'
or 'ZServer/medusa/monitor_client_win32.py' script. For example:: or 'ZServer/medusa/monitor_client_win32.py' script. For example::
$ python1.5.2 ZServer/medusa/monitor_client.py $ python1.5.2 ZServer/medusa/monitor_client.py localhost 9999
You will then be asked to enter a password. This is the Zope super manager You will then be asked to enter a password. This is the Zope super manager
password which is stored in the 'access' file. password which is stored in the 'access' file.
...@@ -158,13 +158,18 @@ ZServer monitor server ...@@ -158,13 +158,18 @@ ZServer monitor server
the Zope module:: the Zope module::
>>> import Zope >>> import Zope
The Zope top level Zope object is available via the 'Zope.app' function:: The Zope top level Zope object is available via the 'Zope.app' function::
>>> a=Zope.app() >>> a=Zope.app()
From this object you can reach all other Zope objects as subobjects. From this object you can reach all other Zope objects as subobjects.
Remember if you make changes to Zope objects and want those changes to be
saved you need to commmit the transaction::
>>> get_transaction().commit()
ZServer WebDAV support ZServer WebDAV support
WebDAV is a new protocol for managing web resources. WebDAV operates WebDAV is a new protocol for managing web resources. WebDAV operates
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment