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