rppd: Die Rheinland-Pfälzische Personendatenbank
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)
Get the code, change into the project directory, and run the tests:
git clone https://github.com/hbz/rppd.git ; cd rppd ; sbt test
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.
In ‘rppd’, run the web application:
sbt run
(or sbt start
for prod mode)
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
.
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”.