Skip to content

clarin-eric/VirtualCollectionRegistry

Repository files navigation

Virtual Collection Registry

Environment:

  • Java 17+, jakarta EE

Major dependencies and frameworks:

  • Wicket 10.x.x
  • Spring 6.x.x
  • Hibernate 5.x.x
  • Bootstrap 5.x.x

Instances:

Documentation

This application is currently documented on the CLARIN trac.

Information regarding development and deployment as well as licencing information can be found in the documentation directory.

Development

Servlet Container

Tomcat

Apache tomcat 10+ is the prefered servlet container. The mysl jdbc driver must be provided in the tomcat libs directory.

MySQL

A running MySQL server is required. By using docker this is trivial to run for development purposes.

Docker

docker run -d \
    --name vcr-mysql \
    -e MYSQL_ROOT_PASSWORD=vcr-root \
    -e MYSQL_DATABASE=vcr \
    -e MYSQL_USER=vcr-user \
    -e MYSQL_PASSWORD=vcr-password \
    -p 3306:3306 
    mysql:latest

Update the tomcat context.xml with the information provided for the MYSQL_* environment variables and the ip address of the docker host. The application uses the database according to the configuration in persistence.xml (Java Persistence API).

History

Developers

  • Oliver Schonefeld, original developer.
  • Twan Goosen, contributor to the 1.0 release.
  • Willem Elbers, current maintainer

GitHub migration

In Januari 2016 the Virtual collection Registry was migrated from the svn repository into github. The scripts used for this migration are available in the scripts directory.