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