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.
- Install the
raptor2-utils
library on your machine. You need this for the conversion of rdf to ttl for Skosmos. - Install docker (obviously)
- Ensure ports are open where they need to be.
- 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.
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.
- Copy
utils/dataverse/mount
to the root folder of the dataverse directory - 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
- Add all containers to traefik network
- Declare traefik network at the bottom; this network is NOT bridge.
- Update
.env
to use tag for dataverse toalpha
version (otherwise it'll be unstable) - Set the reboot parameter to
always
for all containers. - Start containers normally