Skip to content

Reimplementation of the VICAV Frontend based on Vue.js 3

License

Notifications You must be signed in to change notification settings

acdh-oeaw/vicav-vue3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e803d14 · Mar 4, 2025
Sep 26, 2024
Feb 24, 2025
Oct 1, 2024
Feb 21, 2025
Feb 24, 2025
Mar 4, 2025
Sep 22, 2024
Jan 13, 2025
Sep 22, 2024
Feb 26, 2025
Jan 23, 2024
Oct 1, 2024
Jan 28, 2025
Jun 18, 2024
Feb 3, 2025
Feb 3, 2025
Mar 4, 2025
Jan 13, 2025
Nov 22, 2023
Nov 11, 2024
Sep 27, 2023
May 23, 2024
Sep 27, 2023
Sep 26, 2024
Sep 19, 2024
Feb 9, 2024
Sep 27, 2023
Mar 27, 2024
Sep 26, 2024
Sep 26, 2024
Feb 3, 2025
Sep 27, 2023
Nov 26, 2024
Feb 24, 2025
Sep 26, 2024
Feb 24, 2025
Dec 10, 2024
Feb 13, 2025
Sep 27, 2023
Sep 25, 2024

Repository files navigation

VICAV frontend

frontend application for the VICAV project.

how to run

prerequisites:

set required environment variables in .env.local:

cp .env.example .env.local

also, set environment variables required by GitHub actions. use "variables" for every environment variable prefixed with NUXT_PUBLIC_, and "secrets" for all others.

install dependencies:

pnpm install

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

pnpm run dev

how to test for CI deployment

The automated build process is roughly equivalent to the following command sequence:

pnpm run build
pnpm run test
# export CI=true or
# $env:CI='true'
pnpm prune --prod
pnpm run start

If you did not actually set the environment variables in .env.local in your development environment, replace the last line with:

pnpm run start:local

This loads .env.local as environment and then executes pnpm run start.

Open the production server on http://localhost:3000 and make sure it loads and shows the new features you implemented.

If you do not verify that these commands work after major overhauls there is a high change that pnpm run dev works but the deployed container does not.

Get back dev packages:

# unset CI or
# del env:CI
pnpm prune

Release

  • Checkput main branch
  • Merge develop into main
  • Update version in package.json (e. g. 0.8.0)
  • Commit version change
  • Create tag with version (e. g. v0.8.0)
  • git push and git push origin --tags
  • Checkout develop branch
  • Merge main into develop
  • Revert the commit Limit actions to production ready
  • git push