X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=README;h=e95c675d5a8e7c241610e2aa873d2c0b996af9a4;hb=f333d5d11a8ed50f3765456bf5883a7203ca4f43;hp=32e79b6714e11144b0a38569899dc3103fbc97c4;hpb=8c58a0f7303b074db0859f83268503cae22a0089;p=pazpar2-moved-to-github.git diff --git a/README b/README index 32e79b6..e95c675 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 @@ -18,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