JSON data transformer for ReDBox, and others.
+------------------+ +-------------------+
| | | |
| Source of Truth | | Peppermint Portal |
| | | |
+--------^---------+ +-------------------+
| |
| |
+------------------+ +--------------+ +--------v----------+
| | | | | |
| Peppermint +------> Peppermint +------> Search Index |
| Runner | | | | (SOLR) |
+------------------+ +--------------+ +-------------------+
- JRE installation
- A Groovy installation
- Install docker-compose
- Run:
mkdir /mnt/data/solr; chown 8983:8983 /mnt/data/solr
- From the project directory, run:
docker-compose up
- Build, the project (see below), then run command from project directory:
java -cp <path to groovy installation>/lib/*:./build/libs/peppermint-fat.jar io.vertx.core.Launcher
- App is pre-configured to use a SOLR instance available on the
localhost:8983
.
- Run command:
./gradlew shadowJar
The scripts
directory contains some sample scripts that will accept Datacrate JSONs and turn these unto custom Dataset, OAI-PMH and RIF-CS records.
Take note that these scripts are now 'cached' for efficiency, and will thus require a restart of Peppermint for every change.