GithubHelp home page GithubHelp logo

iks / sling-stanbol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from retog/sling-stanbol

1.0 4.0 1.0 270 KB

A sling distro including stanbol and sling frontend to stanbol services

Java 100.00%

sling-stanbol's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.