Frontend für das Kompetenz Inventar. Geschrieben in vue.js. Alle Issues werden im ki-doku Repository verwaltet
Go to file
weeman 69d823504a
add Dockerfile
2021-06-14 22:27:23 +02:00
public kickoff 2021-06-07 17:41:25 +02:00
src added volunteerwork 2021-06-14 15:06:02 +02:00
.browserslistrc init 2021-05-31 16:14:28 +02:00
.dockerignore add Dockerfile 2021-06-14 22:27:23 +02:00
.eslintrc.js init 2021-05-31 16:14:28 +02:00
.gitignore init 2021-05-31 16:14:28 +02:00
Dockerfile add Dockerfile 2021-06-14 22:27:23 +02:00
README.md add Dockerfile 2021-06-14 22:27:23 +02:00
babel.config.js init 2021-05-31 16:14:28 +02:00
package-lock.json kickoff 2021-06-07 17:41:25 +02:00
package.json kickoff 2021-06-07 17:41:25 +02:00

README.md

ki-frontend

Vue3 Projekt:

Project setup

npm ci

Compiles and hot-reloads for development

VUE_APP_API_URL=localhost:8000 npm run serve

Compiles and minifies for production

VUE_APP_API_URL=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 --tag ki_frontend .

Container starten

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