Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.13 KB

readme.md

File metadata and controls

47 lines (32 loc) · 2.13 KB

Experimental setup for Dataverse development version

This is a test instance which combines two things:

  • The default Skosmos stack
  • The development Dataverse stack
  • A traefik configuration

The goal of this repo is to reduce the code footprint of ODISSEI, while maximising the code (re-)usage of other solutions.

At the present date, a number of manual steps are (unfortunately) still required. These are listed below, and commented out in the script.

Setup

  1. Install the raptor2-utils library on your machine. You need this for the conversion of rdf to ttl for Skosmos.
  2. Install docker (obviously)
  3. Ensure ports are open where they need to be.
  4. Run the setup.sh script. This copies all the files to the corresponding locations and gets you ready to roll.

Now get to manual steps.

Manual steps

Below is a list of manual steps. Manual steps aren't great; the reason why they're here is because automation is tricky with quickly moving targets, and/or something upstream is busted which was found through experimentation.

Sometimes keeping a config locally can work; sometimes manual fixes are the way to go.

(17-08-2023) Change dataverse docker file.

  1. Copy utils/dataverse/mount to the root folder of the dataverse directory
  2. Add the following lines to the dataverse container under dataverse volumes:
      # Specific ODISSEI mounts
      - ./mounts/accessFilesFragment.xhtml:/opt/payara/deployments/dataverse/accessFilesFragment.xhtml
      - ./mounts/dataset.xhtml:/opt/payara/deployments/dataverse/dataset.xhtml
      - ./mounts/dataverse_footer.xhtml:/opt/payara/deployments/dataverse/dataverse_footer.xhtml
      - ./mounts/bundle.Properties:/opt/payara/deployments/dataverse/WEB-INF/classes/propertyFiles/Bundle.properties
      - ./mounts/search-include-fragment.xhtml:/opt/payara/deployments/dataverse/search-include-fragment.xhtml

  1. Add all containers to traefik network
  2. Declare traefik network at the bottom; this network is NOT bridge.
  3. Update .env to use tag for dataverse to alpha version (otherwise it'll be unstable)
  4. Set the reboot parameter to always for all containers.
  5. Start containers normally