The web site is developed using a Static Site Generator called 11ty.
- The live site is generated from the
mainbranch every 10 minutes. Researchers can edit the markdown content of the site directly on this branch. - The staging site is generated from the
releasebranch every 10 minutes. This branch and site are used by the KDL team to test and demonstrate new features and fixes before publishing them tomainbranch. - The development site is generated from the
developbranch every 30 minutes. This branch and site are used by the KDL team to experiment with new, unstable features.
- The TEI editions of the books are kept in the
editionbranch - The HTML chunks are generated from the TEI editions every day at 1pm & 6pm and saved into the
dtsbranch (Use github action ornpm run tei2htmlto run it manually.) - The Text Viewer reads HTML chunks from the
dtsbranch - The development site shows the latest HTML chunks
- Snapshots of the
dtsbranch will be manually tagged with following format: 'eYYYY-MM-DD', example 'e2023-05-23'
To edit the code of the DTS server locally while testing it with the AT Text Viewer on the AT edition:
- git clone kdl-dts-server in a new folder outside the project
- Start the server:
npm run start:at(will run on localhost:3000)
export SITE_ENV='dev'; npm run rebuild