Skip to content

IKS/sling-stanbol

 
 

Repository files navigation

Sling-Stanbol

An Apache Sling launcher containing Apache Stanbol and a servlet offering a front-end to the Enhancer to the enhancer services

Compiling

Sling-Stanbol is compiled using maven version 3 or higher. You can download maven from http://maven.apache.org/download.html.

As several dependencies are not yet available in the maven central repository, we first compile these dependencies locally.

Annotate.js

clone the repo: git clone git://github.com/IKS/annotate.js.git

change to the annotate.js/lib directory and install with maven

cd annotate.js/lib
mvn install

Stanbol

clone the repo: git clone https://github.com/apache/stanbol.git

change to the stanbol directory and install with maven

cd stanbol
mvn install -Dmaven.test.skip=true

For some yet unclear reasons, you might have to run the last command again if the build fails.

JAX-RS support for sling

As SLING-2192 isn't solved yet, you also have to compile this bundle

Clone the repo: git clone git://github.com/retobg/slingrs.git

change to the slingrs directory and compile with maven:

cd slingrs
mvn install

Sling Stanbol

Finally you can compile sling-stanbol by running mvn install in the directory where this readme file is located.

Launching

  • change diretcory to sling-stanbol-launcher/target
  • start the laucher with java -jar sling-stanbol-launcher-1.0-SNAPSHOT.jar
  • You may upload html document (using WebDav for example) and open them in the browser, by adding the ".stanbol" suffix to the URI you should see a page that allows enhancing and editing the resource
  • To try the resource page you may go to http://localhost:8080/slingstanbol/turkey.html.stanbol
  • Try out the enhancer servlet at: http://localhost:8080/stanbol/enhancer

About

A sling distro including stanbol and sling frontend to stanbol services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%