source: other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles/0InstallDemoClientInBrief.html@ 15343

Last change on this file since 15343 was 15343, checked in by ak19, 16 years ago

Spelling error

File size: 5.0 KB
Line 
1t<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4<head>
5<title>In brief: getting the GS3 web services demo-client to run</title>
6</head>
7<body>
8<a href="index.html">Back to index page</a>
9
10<h1>In brief: getting the GS3 web services demo-client to run</h1>
11<h2>Sections</h2>
12<ul>
13<li><a href="#A">A Running the demo-client against a Greenstone 3 digital library</a></li>
14<li><a href="#B">B Running the demo-client against a Fedora repository of Greenstone 3 content</a></li>
15</ul>
16
17<h2><a name="A">A Running the demo-client against a Greenstone 3 digital library</a></h2>
18<ol>
19<li>Get and install the latest version of Greenstone 3 from SVN:
20<pre>http://svn.greenstone.org/greenstone3/trunk</pre>
21See the <a href="http://wiki.greenstone.org/wiki/index.php/Installing_Greenstone3">Installing Greenstone 3 wiki page</a> for installation instructions and walkthroughs.
22</li>
23<li>Deploy the QBRSOAPServer as follows. Use a Linux x-term/Windows DOS-prompt to cd into the greenstone 3 installation folder. Then type:
24<pre>ant soap-deploy-localsite</pre>
25It will prompt you for 3 things:
26<ul>
27<li>the Site you wish to deploy it for (example "localsite")</li>
28<li>the web services you wish to deploy. Type "QBRSOAPServer", since these are the web services the demo-client works with.</li>
29<li>a name for the web services. If you don't want to remember the name, accept the default "QBRSOAPServerlocalsite".</li>
30</ul>
31This will have deployed the QBRSOAPServer for the Site specified at http://HOST:PORT/greenstone3/services, where the values for HOST and PORT depend on where your greenstone 3 server for the chosen Site is listening.
32</li>
33<li>Get the demo-client application: download tar.gz/zip version of the GS3 web services demo-client, and unzip it.
34</li>
35<li>Run the demo-client:
36<ul>
37<li>If you're on windows, go into the demo-client installation folder and double click on the gs3democlient.bat file.</li>
38<li>If you're on Linux, use an x-term to cd into the demo-client installation folder and run the application by typing
39<pre>./gs3democlient.sh</pre>
40</li>
41</ul>
42</li>
43<li>Once the application starts, choose Greenstone from the drop-down box at the top as the digital library you wish to connect to. A dialogue will prompt you for the wsdl URL of the QBRSOAPServer web services which you can obtain from the Greenstone 3 services page http://HOST:PORT/greenstone3/services You need to copy the link to the wsdl file of the QBRSOAPServer web services you deployed in 2.
44</li>
45<li>To run the demo-client on a separate computer from the Greenstone server where the web services are deployed:<br />
46Move to another computer. Download and run the demo-client as described in the first three steps. Once the application opens up and you choose to connect to the greenstone 3 digital library, remember to type the HOST and PORT of the remote Greenstone 3 server when specifying the web services' wsdl URL. Basically, the steps are the same as before.
47</li>
48</ol>
49
50<h2><a name="B">B Running the demo-client against a Fedora repository of Greenstone 3 content</a></h2>
51<ol>
52<li>Get and install Fedora 2.2.1 (you could try a later version, though I haven't yet attempted this). See the document on <a href="3InstallingFedora.html">Installing Fedora</a>.
53</li>
54<li>Use the FLI application (Fedora Librarian Interface) that comes with Greenstone 3 to export Greenstone 3 documents into FedoraMETS format and put these in the Fedora repository. To run FLI, go to your greenstone 3 installation folder's gli directory.<br />
55Then, if you're on Linux, type in an X-term
56<pre>./fli.sh</pre>
57If you're on Windows, double click on fli.bat. The opening dialogue requires you to provide the details necessary for connecting to the Fedora repository. Otherwise you can use FLI as you would GLI.
58</li>
59<li><b>Optional:</b> If you want full-text searching in Fedora, get and install Fedora Generic Search, then use it to index the Greenstone 3 docs you exported into the Fedora repository. For details see the document on <a href="4InstallingFedoraGSearch.html">Installing Fedora Generic Search</a>.
60</li>
61<li>Run the demo-client as in point 3 of <a href="#A">Section A</a> above.
62</li>
63<li>Once the application starts, choose Fedora from the drop-down box. A dialogue will ask you for the host and port that the fedora server is listening on and your fedora server username and password.
64</li>
65<li>To run the demo-client on a separate computer from the Fedora server to the repository containing GS3 docs:<br />
66Move to another computer. Download and run the demo-client as described in the first three steps. Once the application opens up and you choose to connect to the fedora digital library, remember to type the HOST and PORT of the remote fedora server along with its username and password. Basically, the steps are the same as before.
67</li>
68</ol>
69
70<p><b>NOTE:</b> If you have both Fedora and Greenstone 3 set up as described in Sections <a href="#A">A</a> and <a href="#B">B</a> above, the client can be run against either digital library's repository. The application will require you to connect to both only once.</p>
71</body>
72</html>
Note: See TracBrowser for help on using the repository browser.