frontend for viecpro.
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.
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
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