1 | =======================================
|
---|
2 | | Eurovision -- Let it Sparkle/Sparql |
|
---|
3 | =======================================
|
---|
4 | | Configuration |
|
---|
5 | ---------------------------------------
|
---|
6 |
|
---|
7 | --
|
---|
8 | 1. Go to your Greenstone3 home directory
|
---|
9 | --
|
---|
10 | source ./gs3-setup.sh
|
---|
11 |
|
---|
12 | --
|
---|
13 | 2. Check out the Eurovision-LOD Site and Iterface
|
---|
14 | --
|
---|
15 | svn co https://svn.greenstone.org/gs3-installations/eurovision-lod/trunk/interfaces/eurovision eurovision-lod
|
---|
16 |
|
---|
17 | svn co https://svn.greenstone.org/gs3-installations/eurovision-lod/trunk/sites/eurovision eurovision-lod
|
---|
18 |
|
---|
19 | --
|
---|
20 | 3. Update the Greenstone servlet config file so it works with the new eurovision-lod site and interface
|
---|
21 | --
|
---|
22 | In a text editor, open:
|
---|
23 |
|
---|
24 | $GSDL3SRCHOME/web/WEB-INF/servlets.xml
|
---|
25 |
|
---|
26 | For the entry:
|
---|
27 | <servlet-name>library</servlet-name>
|
---|
28 |
|
---|
29 | Change the name of the 'site_name' and 'interface' params
|
---|
30 | to be the eurovision-lod ones
|
---|
31 |
|
---|
32 | Change lines 9-16 from:
|
---|
33 |
|
---|
34 | <init-param>
|
---|
35 | <param-name>site_name</param-name>
|
---|
36 | <param-value>localsite</param-value>
|
---|
37 | </init-param>
|
---|
38 | <init-param>
|
---|
39 | <param-name>interface_name</param-name>
|
---|
40 | <param-value>default</param-value>
|
---|
41 | </init-param>
|
---|
42 |
|
---|
43 | To:
|
---|
44 | <init-param>
|
---|
45 | <param-name>site_name</param-name>
|
---|
46 | <param-value>eurovision-lod</param-value> <!- **** -->
|
---|
47 | </init-param>
|
---|
48 | <init-param>
|
---|
49 | <param-name>interface_name</param-name>
|
---|
50 | <param-value>eurovision-lod</param-value> <!- **** -->
|
---|
51 | </init-param>
|
---|
52 |
|
---|
53 |
|
---|
54 | --
|
---|
55 | 4. Test out your updated Greenstone3 DL server
|
---|
56 | --
|
---|
57 |
|
---|
58 | ant start
|
---|
59 |
|
---|
60 | In your browser, visit (if operating locally):
|
---|
61 |
|
---|
62 | http://localhost:8383/greenstone3/library
|
---|
63 |
|
---|
64 | ant stop
|
---|
65 |
|
---|
66 |
|
---|