Skip to content

hbz/rppd

 
 

Repository files navigation

About

rppd: Die Rheinland-Pfälzische Personendatenbank

Setup

Prerequisites

Java 8

sbt 0.13 or newer — download sbt

Elasticsearch 5.6.x (configured in application.conf, see .github/workflows/build.yml for local setup)

Build

Get the code, change into the project directory, and run the tests:

git clone https://github.com/hbz/rppd.git ; cd rppd ; sbt test

Data

Production RPPD data is transformed and indexed in transformAndIndexRppd.sh.

This requires a local https://github.com/hbz/rpb repo, in the same directory as the rppd repo.

Web

In ‘rppd’, run the web application:

sbt run (or sbt start for prod mode)

Open http://localhost:9000

To use the test data, disable deleteIndexes in test/modules/IndexTest.java and re-run the tests.

To use an existing Elasticsearch index on a different machine, configure the prod section in conf/application.conf.

Eclipse

To set up an Eclipse project, first generate the Eclipse config for your machine:

sbt "eclipse with-source=true"

Then import the project in Eclipse: “File” > “Import” > “Existing Projects into Workspace”.

About

Die Rheinland-Pfälzische Personendatenbank

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • JavaScript 86.4%
  • Java 9.9%
  • HTML 2.8%
  • Other 0.9%