ki-frontend/README.md
André Jaenisch e283ee1d2d
Some checks failed
continuous-integration/drone/pr Build is failing
refactor: allow for tenants
This way by adjusting a handful of environment variables the Frontend
can be used by organisations outside of WTFeG.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2025-05-12 14:33:54 +02:00

2.8 KiB

ki-frontend

Build Status REUSE status

Über

Dieses Repo enthält das Frontend des Projekts Kompentenzinventar - einer Webapplikation zur Erfassung von Userprofilen für die WTF eG.

Implementiert ist das Frontend mit Vue3.

Mitmachen

Du kannst gerne bei der Entwicklung des Kompetenzinventars mitmachen.

  • Fehler oder fehlende Funktionen erfassen. Bitte direkt über die Issues in Gitea.
  • Dokumentation oder Implementierung verbessern. Bitte forke hierzu das Projekt, branche von main ab und erstelle dann einen Pull Request.

Kommunikation

Folgende Kanäle gibt es für die Kommunikation über das Kompetenzinventar:

  • Die Issues im WTF Gitea.
  • Den Bereich AG Entwicklung im WTF Forum.
  • Einen Raum in Matrix. Zutritt per Einladung, frlan lädt ein, eine einfache PN im Forum reicht.

Repos

Project setup

npm ci

Pre requirements

Konfigurationsdatei anpassen

cp public/config.js.dev public/config.js
vi public/config.js

Umgebungsvariablen setzen

cp env.example .env
vi .env

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vorraussetzung: Node & NPM

Docker

Image bauen

docker build --target ki-frontend --tag ki_frontend .

Container starten

docker run \
    --name=ki_frontend \
    -v ${PWD}/public/config.js:/user/share/nginx/html/config.js \
    -p 8000:80 \
    ki_frontend