Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get hands-on experience with the indexer and see updates synced with an external triplestore, you need three components:

1. Triplestore

  • The easiest to setup is Jena Fuseki (Fuseki setup instructions).
  • Alternatively, you can setup Sesame (Sesame setup instructions).

2. Fedora Repository

$ git clone https://github.com/futures/fcrepo4.git
  
$ cd fcrepo4
$ MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=1024m" mvn install
$ cd fcrepo-webapp
$ MAVEN_OPTS="-Xmx512m" mvn jetty:run

3. JMS Indexer

$ git clone https://github.com/futures/fcrepo-jms-indexer-pluggable.git
  
$ cd fcrepo-jms-indexer-pluggable
$ mvn install
$ cd fcrepo-jms-indexer-webapp
$ mvn -Djetty.port=8081 jetty:run

The Fedora Repository will be running at http://localhost:8080/rest/ – you can create, update and delete objects and datastreams using your browser, or using the REST API (see SPARQL Recipes).  Each event will trigger the indexer and be synced to Fuseki, which you can access at http://localhost:3030/.