An interactive visualization that juxtaposes essays and graphs. It allows readers to browse items from Omeka-S-based collections, by accessing them through a curated selection of texts designed to provide better understanding, combining editorial approaches with free exploration and user-driven granularity.
- In Terminal, go to your production folder:
cd path/to/my/folder
- Clone this repository
git clone https://github.com/uclab-potsdam/refa-reader-template.git NAME-OF-MY-FOLDER
cd NAME-OF-MY-FOLDER
- Install dependencies with yarn
yarn
- Run and build the development environment.
yarn dev
yarn build
- Preview the production build with
npm run preview
.
Essays need to be inserted inside the src/route/essays/
folder.
Every markdown contains metadata to customize the layout:
---
title: The title of the essay.
date: "2023-12-14"
color: "blue"
author: "Name of the Author"
isPublic: true // false
lang: en
description: "The description which appears in the home page"
cover: "https://example.com/image.jpg"
---
To Setup the visualisation it is needed to customise the setup file in the src/setup.json
.
{
"title": "The title of the Website",
"api": "https://exampe.com/api", // The link to a Omeka S Api
"publicSite": "", // The link of an Omeka-S collection
"languages": ["en"],
"description": {
"en": "Text to render in the homepage"
},
"mainCategories": [
// It is possible to customise the column layout by specifing a category and properties as a js Object.
{
"key": "Category title",
"props": [
"is refered to it",
"shows features of",
]
},
{
"key": "Documentation",
"props": [
"is documented in",
"incorporates"
]
}
]
}
``