Changeset 37142


Ignore:
Timestamp:
2023-01-17T00:13:07+13:00 (15 months ago)
Author:
davidb
Message:

Updated details for using the gitfork version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/structured-image/trunk/packages/README.txt

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