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

Last change on this file since 37146 was 37146, checked in by davidb, 15 months ago

Tweak to include untar step

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