Changeset 28418

Show
Ignore:
Timestamp:
14.10.2013 15:41:04 (6 years ago)
Author:
davidb
Message:

Further development of the files that need to be installed to run as a Greenstone extension

Location:
gs2-extensions/apache-jena/trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/NOTES.txt

    r28407 r28418  
    11 
     2**** 
     3* Apache Jena Fuseki Server 
     4**** 
    25 
     6To use this extension, the tripple-store server it provide, Fuseki, 
     7needs to be run alongside the regular Greenstone DL server 
    38 
    4 This extension requires an additional server to be run, along side the main Greenstone3 server 
     9To start the server, type: 
    510 
     11  fuseki-server --update -loc=$GEXT_JENA_INSTALLED/DB /ds 
    612 
    7 .... 
     13******** 
    814 
     15++++ 
     16+ Additional notes: 
     17++++ 
     18 
     19For testing purposes, the client-side provided by Fuseki have also been 
     20installed. 
     21 
     22To add content (into the default graph) to the tripple-store: 
     23 
     24  s-put http://localhost:3030/ds/data default books.ttl 
     25 
     26To get it back: 
     27 
     28  s-get http://localhost:3030/ds/data default 
     29 
     30To query it with SPARQL using the .../query endpoint: 
     31 
     32  s-query --service http://localhost:3030/ds/query 'SELECT * {?s ?p ?o}' 
     33 
     34To update it with SPARQL using the .../update endpoint: 
     35 
     36  s-update --service http://localhost:3030/ds/update 'CLEAR DEFAULT' 
     37 
     38**** 
  • gs2-extensions/apache-jena/trunk/src/packages/CASCADE-MAKE/FUSEKI.sh

    r28411 r28418  
    3030  pushd "$package$version" 
    3131 
    32   /bin/cp s-* $GEXT_JENA_INSTALLED/bin/script/. 
    33   chmod a+rx $GEXT_JENA_INSTALLED/bin/script/s-* 
    34  
     32  echo "====" 
     33  echo "= Installing Fuseki" 
     34  echo "====" 
     35  echo "= Installing server-side scripts" 
    3536  /bin/cp fuseki-server $GEXT_JENA_INSTALLED/bin/script/. 
    3637  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki-server 
     
    4445  chmod a+r $GEXT_JENA_INSTALLED/fuseki-server.jar 
    4546 
     47  echo "= Installing client-side scripts" 
     48  /bin/cp s-* $GEXT_JENA_INSTALLED/bin/script/. 
     49  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/s-* 
     50 
     51 
     52  echo "= Installing configuration files" 
    4653  /bin/cp config.ttl $GEXT_JENA_INSTALLED/. 
    4754  chmod a+r $GEXT_JENA_INSTALLED/config.ttl 
     55 
     56  /bin/cp -r pages $GEXT_JENA_INSTALLED/. 
     57  chmod -R a+r $GEXT_JENA_INSTALLED/pages 
     58 
     59  echo "====" 
     60  echo "" 
    4861 
    4962  popd