Changeset 3380


Ignore:
Timestamp:
2002-08-21T13:29:56+12:00 (22 years ago)
Author:
kjdon
Message:

revised

Location:
trunk/gsdl3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/INSTALL

    r3375 r3380  
    22
    331. you also need to get mgpp code - comes in a separate checkout.
     4I once added a directory for mgpp into gsdl3/packages in cvs - now I cant get
     5rid of it, so you need to delete it before you start.
    46cd packages
     7rm -r mgpp
    58cvs co mgpp
    69cd mgpp
     
    811make
    912make install
    10 
    11 NOte: you need to use your gsdl3 home directory as the prefix for configure
     13cd ../..
     14
     15Note: you need to use your gsdl3 home directory as the prefix for configure
    1216at this stage - mgpp has been set up properly, but gsdl3 hasn't
    1317
    1418
    15192. Make the gsdl3 stuff
     20
     21First need to unpack the tomcat stuff, cos we use a jar file from there
     22
     23cd comms/tomcat/
     24
     25tar xzvf jakarta-tomcat-4.0.1.tar.gz
     26
     27cd ../..
     28
     29source setup.bash - to set up your CLASSPATH
    1630
    1731do a 'make', then 'make install', in each of the following directories
     
    2539in sites/localsite/collect/mgppdemo/index/
    2640
    27 untar mgpp-indexfiles.tar.gz
     41tar xzvf mgpp-indexfiles.tar.gz
    2842
    2943this is a collection built using mgpp in greenstone 2 - MGPPGDBMService works
    3044with this type of collection.
    3145
    32 Note, you can use the new Java Queryer program to query this collection:
    33 
    34 java org.greenstone.mgpp.Queryer <basedir> <indexdir> <textdir>
    35 
    36 eg if have a mgpp collection in ./localsite/collect/mgppdemo
    37 java org...Queryer ./localsite/collect/mgppdemo/index tt/mgppdemo text/mgppdemo
    38 
    39 you can use any mgpp collection built with gsdl2 - you need to add a
    40 buildcfg.xml file to the index directory
     46Note, you can use the new Java Queryer program to query this collection (see
     47RUNNING)
     48
    4149
    42504. set up the servlet information for tomcat
     
    55635. set up tomcat
    5664
    57 untar comms/tomcat/jakarta-tomcat-4.0.1.tar.gz
    58 
    59 edit jakarta-tomcat-4.0.1/bin/catalina.sh:
     65cd comms/tomcat/jakarta-tomcat-4.0.1
     66
     67edit bin/catalina.sh:
    6068
    6169on line 89 add $CLASSPATH to the CP="...." line ie. CP="$CLASSPATH:..." - this
    6270sets up the class path properly
    6371
    64 you need to edit the tomcat conf/server.xml to add a context for gsdl servlets
    65 add this line (putting the correct path for GSDL3HOME)
     72edit conf/server.xml:
     73
     74you need  add a context for gsdl servlets
     75add these lines (putting the correct path for GSDL3HOME)
    6676
    6777<!-- GSDL3 Service -->
     
    77876. run tomcat
    7888
    79 to run tomcat, need to source setup.bash in GSDL3HOME to set up $CLASSPATH
     89to run tomcat, you need to have sourced setup.bash in GSDL3HOME to set up $CLASSPATH
    8090
    8191then cd to comms/tomcat/jakarta-tomcat-4.0.1/bin
     
    8393run ./startup.sh
    8494
    85 to shut down tomcat, run ./shutdown.sh
     95(to shut down tomcat, run ./shutdown.sh)
    8696
    8797the tomcat server can be accessed on the web via localhost:8080
    8898
    89 the greenstone stuff is at /gsdl3 - this uses index.html - has links to the
    90 test servlet and the greenstone servlets
     99the greenstone stuff is at localhost:8080/gsdl3 - this uses index.html - has
     100links to the test servlet and the greenstone servlets
     101
     102you should be able to run library from the index page
    91103
    92104System.out/err and cout/cerr go to comms/tomcat/jakarta-tomcat-4.0.1/logs/catalina.out - if need to debug stuff
  • trunk/gsdl3/RUNNING

    r3358 r3380  
    3333create a new one, or copy the default one to the new location.
    3434
    35  Command line library
     35******************************************************
     36Servlet:
     37
     38need to run setup.bash to set CLASSPATH etc
     39
     40Can run the web interface by starting tomcat (see INSTALL) and going to
     41localhost:8080/gsdl3/library
     42
     43only mgpp collections can be searched - use mgppdemo, not demo.
     44Currently, only Text search works.
     45
     46to change the interface language, you can add &l=fr to the url. fr is the
     47only alternative to en at the moment.
     48
     49*******************************************************
     50Command line libraries
    3651
    3752need to run setup.bash to set CLASSPATH etc
     
    107122
    108123
     124Collections:
    109125
     126Can use the new java Queryer to test mgpp collections:
     127
     128java org.greenstone.mgpp.Queryer <basedir> <indexdir> <textdir>
     129
     130eg
     131java org.greenstone.mgpp.Queryer sites/localsite/collect/mgppdemo/index  tt/mgppdemo text/mgppdemo
     132
     133you can use any mgpp collection built with gsdl2 - you need to add a
     134buildcfg.xml file to the index directory - look at the one for mgppdemo to see
     135what it should look like.
     136
     137
     138
     139
     140
     141
     142
Note: See TracChangeset for help on using the changeset viewer.