Frontend für das Kompetenz Inventar. Geschrieben in vue.js. Alle Issues werden im ki-doku Repository verwaltet
public | ||
src | ||
.browserslistrc | ||
.dockerignore | ||
.drone.yml | ||
.eslintrc.js | ||
.gitignore | ||
babel.config.js | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md |
ki-frontend
Vue3 Projekt:
Project setup
npm ci
Konfigurationsdatei anpassen
cp public/config.js.dev public/config.js
vi public/config.js
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
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