https://github.com/acdh-oeaw/sicprod-nuxt

SiCProD (Sigmund of Tyrol's Court: Prosopographical Database) frontend

https://github.com/acdh-oeaw/sicprod-nuxt

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary

Keywords

frontend
Last synced: 6 months ago · JSON representation

Repository

SiCProD (Sigmund of Tyrol's Court: Prosopographical Database) frontend

Basic Info
Statistics
  • Stars: 0
  • Watchers: 7
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Topics
frontend
Created almost 2 years ago · Last pushed 12 months ago
Metadata Files
Readme License

readme.md

sicprod frontend

frontend for SiCProD (Sigmund of Tyrol's Court: Prosopographical Database). deployed at https://sicprod.acdh.oeaw.ac.at.

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:

bash cp .env.local.example .env.local

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

install dependencies:

bash pnpm install

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

bash pnpm run dev

how to deploy

  • ask a sysadmin to create a new acdh-ch kubernetes project.
  • create a new namespace in that project via rancher, and set the KUBE_NAMESPACE github variable to that namespace.
  • adjust the app_name, which will be the name of the deployment in the above namespace.
  • set the PUBLIC_URL github variable to the application's public url (e.g. "https://my-app.acdh-ch-dev.oeaw.ac.at"), and set the KUBE_INGRESS_BASE_DOMAIN to the public url's base domain (e.g. "acdh-ch-dev.oeaw.ac.at").
  • when deploying to a production domain (i.e. a domain not ending in "acdh-ch-dev.oeaw.ac.at"), set HELM_UPGRADE_EXTRA_ARGS to --set 'ingress.annotations.cert-manager\.io/cluster-issuer=acdh-prod' for "acdh.oeaw.ac.at" domains, or to --set 'ingress.annotations.cert-manager\.io/cluster-issuer=letsencrypt-prod' for any other non-oeaw domains, and ensure KUBE_INGRESS_BASE_DOMAIN is set correctly.
  • create a service issue in the acdh-ch redmine issue tracker, and set the SERVICE_ID github variable to the issue number. this should match the NUXT_PUBLIC_REDMINE_ID variable in your .env.local file.
  • ensure required build args (prefixed with NUXT_PUBLIC_) are referenced in both the Dockerfile, as well as the validation and deployment pipelines, and set as github variables.
  • ensure required runtime environment variables are referenced in the validation and deployment pipelines, and set as github secrets. github secrets need to be prefixed with K8S_SECRET_ to be automatically copied to the runtime environment. in case you need secrets in the docker build context, you can mount a secret in the Dockerfile.
  • the NUXT_PUBLIC_BOTS variable defaults to "disabled", which signals to web crawlers that the website should not be indexed. when deploying to a production domain (i.e. a domain not ending in "acdh-ch-dev.oeaw.ac.at") this should be set to "enabled".
  • to enable runtime override of public runtimeConfig build values through runtime env vars note the naming conventions.

[!IMPORTANT]

this is a feature exclusive to nuxt 3. for most deployment scenarios it is not needed, but it can be useful for deploying multiple instances from a single build.

if everything is set up correctly, every git push to the main branch will create a new deployment if the validation pipeline passes.

you can reference the template repository for a working setup.

Owner

  • Name: Austrian Centre for Digital Humanities & Cultural Heritage
  • Login: acdh-oeaw
  • Kind: organization
  • Email: acdh@oeaw.ac.at
  • Location: Vienna, Austria

GitHub Events

Total
  • Issues event: 6
  • Delete event: 2
  • Issue comment event: 2
  • Push event: 21
  • Pull request event: 5
  • Create event: 4
Last Year
  • Issues event: 6
  • Delete event: 2
  • Issue comment event: 2
  • Push event: 21
  • Pull request event: 5
  • Create event: 4

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 10
  • Total pull requests: 8
  • Average time to close issues: 25 days
  • Average time to close pull requests: 9 days
  • Total issue authors: 1
  • Total pull request authors: 4
  • Average comments per issue: 0.2
  • Average comments per pull request: 0.38
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 7
  • Average time to close issues: 6 days
  • Average time to close pull requests: 6 days
  • Issue authors: 1
  • Pull request authors: 3
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.14
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stefanprobst (12)
Pull Request Authors
  • stefanprobst (6)
  • ctot-nondef (2)
  • b1rger (2)
  • katharinawuensche (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/build-deploy.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v5 composite
  • docker/login-action v3 composite
  • docker/metadata-action v5 composite
  • docker/setup-buildx-action v3 composite
.github/workflows/validate.yml actions
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • actions/upload-artifact v4 composite
  • pnpm/action-setup v3 composite
Dockerfile docker
  • node 20-alpine build
package.json npm
  • @acdh-oeaw/eslint-config ^1.0.7 development
  • @acdh-oeaw/eslint-config-nuxt ^1.0.13 development
  • @acdh-oeaw/eslint-config-playwright ^1.0.7 development
  • @acdh-oeaw/eslint-config-vue ^1.0.12 development
  • @acdh-oeaw/prettier-config ^2.0.0 development
  • @acdh-oeaw/stylelint-config ^2.0.1 development
  • @acdh-oeaw/tailwindcss-preset ^0.0.22 development
  • @acdh-oeaw/tsconfig ^1.0.2 development
  • @nuxt/devtools ^1.0.8 development
  • @playwright/test ^1.42.1 development
  • @tailwindcss/typography ^0.5.12 development
  • @types/d3 ^7.4.3 development
  • @types/lodash ^4.17.0 development
  • @types/node ^20.11.26 development
  • axe-core ^4.8.4 development
  • axe-playwright ^2.0.1 development
  • ci-info ^4.0.0 development
  • dotenv ^16.4.5 development
  • dotenv-expand ^11.0.6 development
  • eslint ^8.57.0 development
  • eslint-plugin-tailwindcss ^3.15.1 development
  • is-ci ^3.0.1 development
  • lint-staged ^15.2.2 development
  • npm-run-all2 ^6.1.2 development
  • nuxt ^3.10.3 development
  • postcss ^8.4.35 development
  • prettier ^3.2.5 development
  • schema-dts ^1.1.2 development
  • simple-git-hooks ^2.10.0 development
  • stylelint ^16.2.1 development
  • tailwindcss ^3.4.1 development
  • typescript ^5.4.2 development
  • vite ^5.1.6 development
  • vue-tsc ^2.0.6 development
  • @acdh-oeaw/lib ^0.1.7
  • @fontsource-variable/inter ^5.0.17
  • @headlessui/tailwindcss ^0.2.0
  • @headlessui/vue ^1.7.19
  • @nuxt/content ^2.12.1
  • @nuxt/image ^1.4.0
  • @nuxtjs/color-mode ^3.3.2
  • @nuxtjs/i18n ^8.1.1
  • @tanstack/vue-query ^5.28.7
  • @vueuse/core ^10.9.0
  • @vueuse/nuxt ^10.9.0
  • @zodios/core ^10.9.6
  • cva ^1.0.0-beta.1
  • d3 ^7.9.0
  • fast-glob ^3.3.2
  • lodash ^4.17.21
  • lucide-vue-next ^0.356.0
  • openapi-zod-client ^1.16.2
  • pino-http ^9.0.0
  • satori ^0.10.13
  • vue ^3.4.21
  • vue-i18n ^9.10.1
  • vue-i18n-routing ^1.2.0
  • vue-router ^4.3.0
  • zod ^3.22.4
pnpm-lock.yaml npm
  • 1328 dependencies