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 |
|
---|
16 | svn co https://svn.greenstone.org/main/trunk/model-sites-dev/eurovision-lod web/sites/eurovision-lod
|
---|
17 |
|
---|
18 | svn co https://svn.greenstone.org/main/trunk/model-interfaces-dev/eurovision-lod web/interfaces/eurovision-lod
|
---|
19 |
|
---|
20 | --
|
---|
21 | 3. Update the Greenstone servlet config file so it works with the new eurovision-lod site and interface
|
---|
22 | --
|
---|
23 | In a text editor, open:
|
---|
24 |
|
---|
25 | $GSDL3SRCHOME/web/WEB-INF/servlets.xml
|
---|
26 |
|
---|
27 | For the entry:
|
---|
28 | <servlet-name>library</servlet-name>
|
---|
29 |
|
---|
30 | Change the name of the 'site_name' and 'interface' params
|
---|
31 | to be the eurovision-lod ones
|
---|
32 |
|
---|
33 | Change lines 9-16 from:
|
---|
34 |
|
---|
35 | <init-param>
|
---|
36 | <param-name>site_name</param-name>
|
---|
37 | <param-value>localsite</param-value>
|
---|
38 | </init-param>
|
---|
39 | <init-param>
|
---|
40 | <param-name>interface_name</param-name>
|
---|
41 | <param-value>default</param-value>
|
---|
42 | </init-param>
|
---|
43 |
|
---|
44 | To:
|
---|
45 | <init-param>
|
---|
46 | <param-name>site_name</param-name>
|
---|
47 | <param-value>eurovision-lod</param-value> <!- **** -->
|
---|
48 | </init-param>
|
---|
49 | <init-param>
|
---|
50 | <param-name>interface_name</param-name>
|
---|
51 | <param-value>eurovision-lod</param-value> <!- **** -->
|
---|
52 | </init-param>
|
---|
53 |
|
---|
54 |
|
---|
55 | --
|
---|
56 | 4. Test out your updated Greenstone3 DL server
|
---|
57 | --
|
---|
58 |
|
---|
59 | ant start
|
---|
60 |
|
---|
61 | In your browser, visit (if operating locally):
|
---|
62 |
|
---|
63 | http://localhost:8383/greenstone3/library
|
---|
64 |
|
---|
65 | ant stop
|
---|
66 |
|
---|
67 |
|
---|