source: trunk/greenstone3-extensions/vishnu/README@ 8189

Last change on this file since 8189 was 8189, checked in by kjdon, 20 years ago

first version of Imperial College's Visualiser code

  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1Vishnu package for ...
2
3LINUX INSTALL:
4The environment variable JAVA_HOEM needs to be set.
5
6./configure [--prefix=...]
7make
8make install
9
10WINDOWS INSTALL:
11
12
13RUNNING THE SERVLET USING TOMCAT:
14
15You need to run a servlet container for the server.
16
17The servlet class is vishnu.server.VisServlet. The class file needs to be put in the appropriate directory for your servlet container. Edit the Makefile if need be.
18The servlet needs one initialisation parameter: collectionsHome, which is the directory where collections live.
19The vishnu.jar file needs to go into the CLASSPATH used by the servlet container.
20
21COLLECTION BUILDING:
22
23The directory where collection live is called collsHome. Inside this, create a new directory for your collection. The name of this directory is the collection identifier. Inside the collection directory create a new direcotry called import. Inside here put all the documents that you want in your collection. Documents must be plain text, xml or html.
24
25Then you can build the collection:
26
27Command line:
28java vishnu.builder.CollectionBuilder -collsHome (directory where collections live) -collection (directory name of collection) -name (descriptive name for collection) -description (collection description) -index ("mg" or "luc")
29
30Using a GUI tool:
31java vishnu.builder.IndexerGUI
32
33Fill in the fields as appropriate, and click "Start indexing".
34
35Once the collection is built, you need to rename the building directory to index. Collections are built into the building directory, but served from the index directory. This allows you to serve a built collection while rebuilding.
36
37
38RUNNING THE APPLET:
39
40Edit the test.html file and add in the correct address of the Visualiser servlet in the library parameter.
41Open up the test.html file in a browser. Assuming you have collections available in the collectionsHome directory given to the servlet, you should be able to view them in the applet.
Note: See TracBrowser for help on using the repository browser.