Docker image for the DHConvalidator
381
Offical Repository: ADHO/dhconvalidator
The goal of the DHConvalidator is a simplification of the creation of a consistent TEI text base of Digital Humanities (DH) conference abstracts for further processing like the generation of the book of abstracts. The idea was to offer the user the possibility to edit the final version of the submission with her tool of choice starting with two of the most popular systems Libre Office and Microsoft Word.
The DHConvalidator works together with the conference management tool ConfTool and uses OxGarage to do the bulk conversion.
The submission of the final version is composed of four steps after logging in:
The .dhc package contains the original edited template file (docx or odt), the TEI version, integrated media files and a HTML version of the submission.
Take the latest [WAR file release] (https://github.com/mpetris/dhconvalidator/blob/master/release/) or create a WAR file yourself and extract it to a Servlet container (Jetty 9 or higher, Tomcat 8 or higher).
Copy the dhconvalidator.properties.example to dhconvalidator.properties and edit it as needed:
Integration of the DHConvalidator is done via integrating an IFRAME into the host site:
<iframe src="http://mydomain/dhconvalidator/" height="230" width="250" frameborder="0">
</iframe>`
To avoid cross site scripting issues the domain should be the same as the domain of the host site.
With Docker installed, simply enter
docker build -t dhconvalidator .
To run the 'dhconvalidator' image you created in the step above enter
docker run -d --rm -p8080:8080 --name dhconvalidator dhconvalidator
This will spin up a container with the default settings, making
the DHConvalidator instance available at http://localhost:8080/dhconv.
http://localhost:8080/dhconvhttps://www.conftool.pro/dh2018/https://www.conftool.pro/dh2018/rest.phpsome_passwordENGLISH'<encodingDesc xmlns="http://www.tei-c.org/ns/1.0"><appInfo><application ident="DHCONVALIDATOR" version="{VERSION}"><label>DHConvalidator</label></application></appInfo></encodingDesc>'truetrue50800falsehttps://oxgarage.tei-c.org/ege-webservice/org.adho.dhconvalidator.demo.DemoPaperProvidertrue'<publicationStmt xmlns="http://www.tei-c.org/ns/1.0"><publisher>Name, Institution</publisher><address><addrLine>Street</addrLine><addrLine>City</addrLine><addrLine>Country</addrLine><addrLine>Name</addrLine></address></publicationStmt>'falsefalse/Picturestemplate/DH_template_DH2018_detemplate/DH_template_DH2018_entemplate/DH_template_DH2018_esorg.adho.dhconvalidator.demo.DemoUserProviderYou can overwrite the default settings via environment variables, e.g.
docker run -d --rm -p8080:8080 --name dhconvalidator -e dhconvalidator_base_url=http://my.dhconvalidator.base.url dhconvalidator
will set the base url to http://my.dhconvalidator.base.url.
docker-compose allows you to easily run your own dedicated OxGarage
instance as a sidekick to the DHConvalidator.
version: '3'
services:
dhconvalidator:
image: dhconvalidator
restart: always
ports:
- "8080:8080"
environment:
dhconvalidator_base_ur: http://localhost:8080
dhconvalidator_oxgarage_url: http://oxgarage:8080/ege-webservice/
oxgarage:
image: teic/oxgarage
restart: always
environment:
WEBSERVICE_URL: http://localhost:8080/ege-webservice/
volumes:
- /your/path/to/TEI/P5:/usr/share/xml/tei/odd:ro
- /your/path/to/Stylesheets:/usr/share/xml/tei/stylesheet:ro
NB: You need to provide your own copy of the TEI sources and Stylesheets! (see https://github.com/TEIC/oxgarage for more details on how to run that container)
Content type
Image
Digest
Size
106.1 MB
Last updated
almost 7 years ago
docker pull stadlerpeter/dhconvalidator