Implemented pz:allow (turn access to targets on or off)
[pazpar2-moved-to-github.git] / README
diff --git a/README b/README
index 0976a28..693c801 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
 How to use this:
 
-Usage: pazpar2 -h listen-port -p host-to-proxy -s targetfile
+Usage: pazpar2 -f configfile -h [listen-host:]listen-port -p host-to-proxy -s targetfile
 
 The host-to-proxy is the webserver where the user interface script
 lives. It is used both for domain-name lookup and the contents of
@@ -10,8 +10,28 @@ that the hostname is recognized by the webserver.
 There are a few main target files:
 
 test.pz: Single target, localhost:9999/Default -- use with
-yaz-ztest or a local Zebra test.
+       yaz-ztest or a local Zebra test.
+
+slow.pz: Single target, localhost:9999/Slow -- triggers a slow
+       search response, useful for testing some stuff.
 
 bibs.pz: A small set of serious catalogs in the US and Canada.
 
 many.pz: Obscenely many catalogs.
+
+Example:
+
+Testing against ztest with Apache running on localhost port 80, pazpar
+running on 8000. DocumentRoot in /var/www.
+
+Fire up yaz-ztest
+       yaz-ztest
+
+Fire up pazpar2
+       sudo cp -a www/* /var/www
+       cd etc
+       cp pazpar2.cfg.dist pazpart2.cfg # edit port + proxy
+       ../src/pazpar2 -f pazpar2.cfg -s test.pz 
+
+Fire up your browser:
+       http://localhost:8000/test1/index.html