X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=README;h=5a9305eb49c5f7504fe79ad19aee58cd7018b472;hb=dde4a5914bbb5511a91e73d8ab45210b48637596;hp=0976a2870fc63f62c5524e71a323b4c23cfb84bc;hpb=b8e35a2e8cfa963a30c39344f0131e8bfcd084fc;p=pazpar2-moved-to-github.git diff --git a/README b/README index 0976a28..5a9305e 100644 --- a/README +++ b/README @@ -1,6 +1,7 @@ How to use this: -Usage: pazpar2 -h listen-port -p host-to-proxy -s targetfile +Usage: pazpar2 -h [listen-host:]listen-port -p host-to-proxy -s targetfile \ + -x normalization-stylesheet 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 +11,27 @@ 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 + ../src/pazpar2 -h 8000 -p localhost:80 -s test.pz -x marc21.xsl + +Fire up your browser: + http://localhost:8000/test1/index.html