Skip to content

VieCPro (The Viennese Court. A prosopographical portal) frontend

License

Notifications You must be signed in to change notification settings

acdh-oeaw/viecpro-nuxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

viecpro frontend

frontend for viecpro.

how to run

prerequisites:

Tip

you can use pnpm to install the required node.js version with pnpm env use 22 --global

set required environment variables in .env.local:

cp .env.local.example .env.local

install dependencies:

pnpm install

run a development server on http://localhost:3000:

pnpm run dev

Tip

this repository supports developing in containers. when opening the project in your editor, you should be prompted to re-open it in a devcontainer.

how to test

generate a production build and run end-to-end tests with:

pnpm run build
pnpm run test:e2e

visual snapshot tests should be run in the repository's devcontainer - or a comparable debian bookworm based linux environment -, and can be updated with:

pnpm run test:e2e:update-snapshots

how to re-generate bibliography

the bibliography is fetched from zotero via script. this does not happen automatically on every build. to re-generate the bibliography, run:

pnpm run generate:bibliography

About

VieCPro (The Viennese Court. A prosopographical portal) frontend

Topics

Resources

License

Stars

Watchers

Forks

Packages