Frontend für das Kompetenz Inventar. Geschrieben in vue.js. Alle Issues werden im ki-doku Repository verwaltet
Go to file
scammo d1b31363d4 #2 nur icons die benutzt werden 2021-08-02 18:23:33 +02:00
public #2 nur icons die benutzt werden 2021-08-02 18:23:33 +02:00
src Suche mit richtigen API Endpunkt, Suche in der Navbar, kleinigkeiten 2021-07-27 12:36:10 +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
Dockerfile add drone docker image build 2021-07-26 21:01:45 +02:00
README.md add build badge 2021-07-26 21:07:57 +02:00
babel.config.js init 2021-05-31 16:14:28 +02:00
package-lock.json #4 2021-07-27 13:16:44 +02:00
package.json #4 2021-07-27 13:16:44 +02:00

README.md

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