source: gs3-extensions/structured-image/trunk/packages/README.txt

Last change on this file was 38291, checked in by davidb, 7 months ago

Fixed typos in instructions

File size: 1.4 KB
Line 
1
2
3To compile up simpleAnnotationStore.war and install it to
4Greenstone3's package/tomcat/webapps area, run:
5
6
7 ./COMPILE-AND-INSTALL.sh
8
9
10By default the installed simpleAnnotationStore.war file operates with Jena/TDB,
11and the TDB files get generated in packages/tomcat/bin/data.
12
13To change SimpleAnnotationServer to use the Greenstone3 Fuseki triplestore extension
14to Greenstone3 (gs2buuild/ext/apache-jena) then find and edit:
15
16
17 emacs packages/tomcat/webapp/simpleAnnotationServer/web/WEB-INF/classes/sas.properties
18
19And change the relevant part to:
20
21 store=jena
22 # #data_dir=data
23 #repo_url=http://localhost:4040/
24 repo_url=http://localhost:8383/fuseki3/
25
26Or if using a reverse-proxy web server front end:
27
28 repo_url="https://<mydomain.org>/greenstone3-lod3/"
29
30
31Alternatively, you can set the following environment variables prior to starting the Greenstone3
32Tomcat server, which will override the values in sas.properties
33
34 export SAS_store=jena
35 export SAS_data_dir=
36 #export SAS_repo_url="http://localhost:4040/"
37 export SAS_repo_url="http://localhost:8383/fuseki3/"
38
39Again, if using a reverse-proxy web server front end, then:
40
41 #export SAS_repo_url="https://<mydomain.org>/greenstone3-lod3/"
42 export SAS_repo_url="https://<mydomain.org>/fuseki3/"
43
44
45
46 export SAS_store=jena
47 export SAS_data_dir=
48 export SAS_repo_url="http://localhost:8383/"
Note: See TracBrowser for help on using the repository browser.