Frontend für das Kompetenz Inventar. Geschrieben in vue.js. Alle Issues werden im ki-doku Repository verwaltet
Go to file
Michael Weimann adf04cce8f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
remove iso language file
2021-07-26 22:12:18 +02:00
public besser editieren, bootstrap iccons, mehr style 2021-07-26 16:12:23 +02:00
src remove iso language file 2021-07-26 22:12:18 +02:00
.browserslistrc init 2021-05-31 16:14:28 +02:00
.dockerignore add Dockerfile 2021-06-14 22:27:23 +02:00
.drone.yml fix drone build 2021-07-26 21:08:50 +02:00
.eslintrc.js init 2021-05-31 16:14:28 +02:00
.gitignore init 2021-05-31 16:14:28 +02:00
babel.config.js init 2021-05-31 16:14:28 +02:00
Dockerfile add drone docker image build 2021-07-26 21:01:45 +02:00
package-lock.json funktionalität edit 2021-07-12 18:32:17 +02:00
package.json kickoff 2021-06-07 17:41:25 +02:00
README.md add build badge 2021-07-26 21:07:57 +02:00

ki-frontend

Build Status

Vue3 Projekt:

Project setup

npm ci

Compiles and hot-reloads for development

VUE_APP_API_URL=http://localhost:8000 npm run serve

Compiles and minifies for production

VUE_APP_API_URL=http://localhost:8000 npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vorraussetzung: Node & NPM

Enviroment Variable

VUE_APP_API_URL ist die Enviroment Variable mit der die Adresse der API übergeben wird

Docker

Image bauen

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

Container starten

docker run \
    --name=ki_frontend \
    -e VUE_APP_API_URL=http://localhost:5000 \
    -p 8000:80 \
    ki_frontend