Last change
on this file since 8189 was 8189, checked in by kjdon, 19 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 | |
---|
1 | Vishnu package for ...
|
---|
2 |
|
---|
3 | LINUX INSTALL:
|
---|
4 | The environment variable JAVA_HOEM needs to be set.
|
---|
5 |
|
---|
6 | ./configure [--prefix=...]
|
---|
7 | make
|
---|
8 | make install
|
---|
9 |
|
---|
10 | WINDOWS INSTALL:
|
---|
11 |
|
---|
12 |
|
---|
13 | RUNNING THE SERVLET USING TOMCAT:
|
---|
14 |
|
---|
15 | You need to run a servlet container for the server.
|
---|
16 |
|
---|
17 | The 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.
|
---|
18 | The servlet needs one initialisation parameter: collectionsHome, which is the directory where collections live.
|
---|
19 | The vishnu.jar file needs to go into the CLASSPATH used by the servlet container.
|
---|
20 |
|
---|
21 | COLLECTION BUILDING:
|
---|
22 |
|
---|
23 | The 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 |
|
---|
25 | Then you can build the collection:
|
---|
26 |
|
---|
27 | Command line:
|
---|
28 | java 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 |
|
---|
30 | Using a GUI tool:
|
---|
31 | java vishnu.builder.IndexerGUI
|
---|
32 |
|
---|
33 | Fill in the fields as appropriate, and click "Start indexing".
|
---|
34 |
|
---|
35 | Once 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 |
|
---|
38 | RUNNING THE APPLET:
|
---|
39 |
|
---|
40 | Edit the test.html file and add in the correct address of the Visualiser servlet in the library parameter.
|
---|
41 | Open 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.