X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=README;h=693c8011255a62d70933190fc485dd23c7e5e4b3;hb=1e94296bc54fc9904caaac74089a44c801852360;hp=0976a2870fc63f62c5524e71a323b4c23cfb84bc;hpb=b8e35a2e8cfa963a30c39344f0131e8bfcd084fc;p=pazpar2-moved-to-github.git diff --git a/README b/README index 0976a28..693c801 100644 --- 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