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