X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=README;h=e95c675d5a8e7c241610e2aa873d2c0b996af9a4;hb=831be38b860411592b0eefc5e14ec549f96b887c;hp=dbcee4a10ed86d5903a7c0afe64a476874d609d6;hpb=eadd4da69adeb542e524c81f39a2f91e5c4d43d7;p=pazpar2-moved-to-github.git diff --git a/README b/README index dbcee4a..e95c675 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ How to use this: -Usage: pazpar2 -h [listen-host:]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