Static Site Generation

Our goal with OpenAtlas Discovery is to make it easily possible to host as static site once a project using it has ended. To achieve this we make use of various technologies, this document is meant as a collection for all the relevant information regarding this.

Used Technologies

Generating the Site

Enviroment Variables

Enviroment variables enable us to make OA Discovery assign important variables ahead of time, like the URL of the site hosting the API for the backend. In static sites the enviroment variable cannot be changed once it has be generated, thus we need to make sure that the correct enviroment variable is provided at the time of generation. Though as we crawl the data from the backend in order to make the site static it should not pose a problem in most cases.

To work with nuxt and be available in the nuxt runtime config the enviroment variables need to follow the naming scheme "NUXT_PUBLIC_VAR_NAME" for public variables and "NUXT_VAR_NAME" for private ones. The naming sheme is explained in more detail here.

Generating a Static Site for the frontend-demos on the CRAWS servers

Steps:

Text for the according index.md

demo

The data presented in this demo version is kindly provided by: [Mapping Medieval Conflict (MEDCON)](https://www.oeaw.ac.at/imafo/das-institut/detail/mapping-medieval-conflicts). A digital approach towards political dynamics in the pre-modern period.

The data stems from two of MEDCON´s case studies, “Emperor Frederick III and the League of the Mailberger coalition in 1451/52” (executed by Kornelia Holzner-Tobisch and Petra Heinicker) and “Factions and alliances in the fight of Maximilian I for Burgundy” (Sonja Dünnebeil).

Die Daten, die in dieser Demo-Version präsentiert werden, wurden freundlicherweise bereitgestellt von: [Mapping Medieval Conflict (MEDCON)](https://www.oeaw.ac.at/imafo/das-institut/detail/mapping-medieval-conflicts). A digital approach towards political dynamics in the pre-modern period.

Die Daten stammen aus zwei Fallstudien von MEDCON, „Kaiser Friedrich III. und die Liga der Mailberger Koalition, 1451/52“ (durchgeführt durch Kornelia Holzner-Tobisch und Petra Heinicker) und „Fraktionen und Allianzen im Kampf von Maximilian I. um Burgund“ (Sonja Dünnebeil).

demo-dev

The data presented in this demo version is kindly provided by: [THANADOS](https://thanados.net/). The Anthropological and Archaeological Database of Sepultures.

The project deals with the digital collection and presentation of Early Medieval cemeteries in the area of present day Austria. It aims at providing a best practice way on how to disseminate archaeological sources and research in the 21st century against the background of digital humanities.

Die Daten, die in dieser Demo-Version präsentiert werden, wurden freundlicherweise bereitgestellt von: [THANADOS](https://thanados.net/). Die Anthropologische und Archäologische Datenbank von Sepulturen.

Das Projekt beschäftigt sich mit der digitalen Sammlung und Darstellung frühmittelalterlicher Friedhöfe im heutigen Österreich. Ziel ist es, einen Best-Practice-Ansatz zur Verbreitung archäologischer Quellen und Forschung im 21. Jahrhundert im Kontext der digitalen Geisteswissenschaften zu bieten.