hbz / digitalisiertedrucke

Implements http://digitalisiertedrucke.de/
0 stars 0 forks source link
gruppe-offene-infrastruktur

h1. About

Work in progress: transformation and web access for hbz's "digitalisiertedrucke.de":http://www.digitalisiertedrucke.de "data":https://datahub.io/dataset/hbz-zvdd.

h1. Build

"!https://secure.travis-ci.org/hbz/digitalisiertedrucke.png?branch=master!":https://travis-ci.org/hbz/digitalisiertedrucke

Prerequisites: Java 8, Maven 3; verify with @mvn -version@

Create and change into a folder where you want to store the projects:

Build the hbz metafacture-core fork:

Get @digitalisiertedrucke@, set up the Play application, and run the tests:

See the @.travis.yml@ file for details on the CI config used by Travis.

h1. Data import

To transform the bzipped Marc-XML source data to JSON and index into an embedded Elasticsearch index, run:

@~/activator-1.3.10-minimal/bin/activator "runMain ImportData"@

Metadata transformations are implemented with "Metafacture":https://github.com/culturegraph/metafacture-documentation.

h1. Web app

h2. Development mode

To start the web app in development mode, run:

@~/activator-1.3.10-minimal/bin/activator run@

And visit "http://localhost:9000":http://localhost:9000

h2. Production mode

Customize @conf/application.conf@, set:

Then start the app in production mode, with the port to run on:

@~/activator-1.3.10-minimal/bin/activator "start 6000"@

h1. Eclipse setup

To generate an Eclipse project (import in Eclipse as existing project), run:

@~/activator-1.3.10-minimal/bin/activator compile "eclipse with-source=true"@