X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fquickstart.xml;fp=doc%2Fquickstart.xml;h=f962421fac1b831ae7b3555bc60ce6238cc01b51;hb=528edc9943ba3311a40b4ab875c0bc9aca5caa87;hp=8cac9bce2f64fb64b60bb19edd8a7ac0ed72903e;hpb=bf07c880d791008bb81431e479c93c03d7567a44;p=idzebra-moved-to-github.git diff --git a/doc/quickstart.xml b/doc/quickstart.xml index 8cac9bc..f962421 100644 --- a/doc/quickstart.xml +++ b/doc/quickstart.xml @@ -1,5 +1,5 @@ - + Quick Start @@ -15,17 +15,21 @@ file named zebra.cfg with the following contents: - # Where are the YAZ tables located. - profilePath: ../../../yaz/tab ../../tab - + # Where the schema files, attribute files, etc are located. + profilePath: .:../../tab:../../../yaz/tab:/usr/local/share/yaz/tab:/usr/share/yaz/tab + # Files that describe the attribute sets supported. attset: bib1.att attset: gils.att + attset: explain.att + + recordtype: grs.sgml + isam: c - Now, edit the file and set profilePath to the path of the + If necessary, edit the file and set profilePath to the path of the YAZ profile tables (sub directory tab of the YAZ distribution archive). @@ -35,14 +39,12 @@ records. To index these, type: - $ ../../index/zebraidx -t grs.sgml update records + zebraidx update records - In the command above the option -t specified the record - type — in this case grs.sgml. - The word update followed + In the command above, the word update followed by a directory root updates all files below that directory node. @@ -51,7 +53,7 @@ fire up a server. To start a server on port 2100, type: - $ ../../index/zebrasrv tcp:@:2100 + zebrasrv tcp:@:2100 @@ -66,14 +68,12 @@ - To test the server, you can use any Z39.50 client (1992 or later). - For instance, you can use the demo client that comes with YAZ: Just - cd to the client subdirectory of the YAZ distribution - and type: + To test the server, you can use any Z39.50 client. + For instance, you can use the demo client that comes with YAZ: - $ ./yaz-client tcp:localhost:2100 + yaz-client tcp:localhost:2100 @@ -81,8 +81,7 @@ When the client has connected, you can type: - - + Z> find surficial Z> show 1 @@ -114,8 +113,12 @@ - If you've made it this far, there's a good chance that - you've got through the compilation OK. + If you've made it this far, you know that your installation is + working, but there's a certain amount of voodoo going on - for + example, the mysterious incantations in the + zebra.cfg file. In order to help us understand + these fully, the next chapter will work through a series of + increasingly complex example configurations.