ukwa / ukwa-ui

A new user interface for the UK Web Archive
BSD 3-Clause "New" or "Revised" License
0 stars 6 forks source link
web-archives web-archiving

UKWA UI

User interface for the UK Web Archive

How to Run the Code

You can then run the code using the run-against-docker.sh. This helper script uses Docker Compose to start up two Solr services and then runs the UI using Maven.

There are scripts to populate the Solr services with example data, but the example data is not stored in this repository and is currently available on upon request.

Running from IntelliJ

Alternatively, you can run code from IntelliJ, and configure it to use the same Solr services. Note that the username and password are not needed to run against local services.

Supporting content translation

For the accessibility statements, most of the work was done by converting the original DOCX to HTML:

pandoc -f docx -t html --ascii acc-cy.docx > acc-cy.html

The ascii flag ensures special characters are HTML/ampersand-escaped rather than relying on file character encoding.

Properties files need a bit more care, but can be mapped via spreadsheets if needed.