Skip to content

QubitPi/bertok

Repository files navigation

Bertok

Java Version Badge Apache License Badge

Bertok is a JSR 370 JAX-RS webservice exclusively serving wilhelm.qubitpi.org

Development

Getting Source Code

[email protected]:QubitPi/bertok.git
cd bertok

Running Tests

mvn clean verify

Generating WAR file

Bertok favors running in an external Jetty container, so its executable is not a fat JAR but a WAR which can be compiled up with

mvn clean package

Starting Webservice Locally

Navigate to a dedicated directory; make sure port 8080 is not occupied and the following environment variables are set:

export NEO4J_URI=
export NEO4J_USERNAME=
export NEO4J_PASSWORD=
export NEO4J_DATABASE=

Then start webservice with:

./jetty-start.sh

Press Ctr-C to stop the webservice and delete generated directories if needed when done.

Deployment

Bertok has a dedicated release definition called bertok-release-definition for its automated deployment. Please check that our for details.

License

The use and distribution terms for bertok are covered by the Apache License, Version 2.0.