[35131] | 1 | =======================================
|
---|
| 2 | | Eurovision -- Let it Sparkle/Sparql |
|
---|
| 3 | =======================================
|
---|
| 4 | | Configuration |
|
---|
| 5 | ---------------------------------------
|
---|
| 6 |
|
---|
[35146] | 7 | --
|
---|
[35131] | 8 | 1. Go to your Greenstone3 home directory
|
---|
[35146] | 9 | --
|
---|
[35131] | 10 | source ./gs3-setup.sh
|
---|
| 11 |
|
---|
[35146] | 12 | --
|
---|
[35131] | 13 | 2. Check out the Eurovision-LOD Site and Iterface
|
---|
[35146] | 14 | --
|
---|
[35131] | 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 |
|
---|
[35146] | 20 | --
|
---|
[35131] | 21 | 3. Update the Greenstone servlet config file so it works with the new eurovision-lod site and interface
|
---|
[35146] | 22 | --
|
---|
[35131] | 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 |
|
---|
[35146] | 55 | --
|
---|
[35136] | 56 | 4. Test out your updated Greenstone3 DL server
|
---|
[35146] | 57 | --
|
---|
[35131] | 58 |
|
---|
[35136] | 59 | ant start
|
---|
[35131] | 60 |
|
---|
[35136] | 61 | In your browser, visit (if operating locally):
|
---|
[35131] | 62 |
|
---|
[35136] | 63 | http://localhost:8383/greenstone3/library
|
---|
[35131] | 64 |
|
---|
[35136] | 65 | ant stop
|
---|
[35131] | 66 |
|
---|
| 67 |
|
---|