X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=README;h=e95c675d5a8e7c241610e2aa873d2c0b996af9a4;hb=53364639c55502502d1f0965c1c91840959434b8;hp=651aad313a34df4838f8faacde80efdeb94a86d9;hpb=b5a83a8d1fc1f02bfb1cd632334dfefb19d0c870;p=pazpar2-moved-to-github.git diff --git a/README b/README index 651aad3..e95c675 100644 --- a/README +++ b/README @@ -1,7 +1,6 @@ How to use this: -Usage: pazpar2 -h [listen-host:]listen-port -p host-to-proxy -s targetfile \ - -x normalization-stylesheet +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 @@ -19,3 +18,20 @@ slow.pz: Single target, localhost:9999/Slow -- triggers a slow 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 -t testserver.xml + +Fire up your browser: + http://localhost:8000/test1/index.html