diff --git a/.gitignore b/.gitignore index 361c1a3..d03476a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ node_modules /public/config.js # local env files +.env .env.local .env.*.local diff --git a/README.md b/README.md index 5ff2033..d6f9512 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,13 @@ 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 diff --git a/env.example b/env.example new file mode 100644 index 0000000..af5390a --- /dev/null +++ b/env.example @@ -0,0 +1,6 @@ +VUE_APP_PASSWORD_RESET_URL="https://resetpw.wtf-eg.de/" +VUE_APP_IMPRINT_URL="https://wtf-eg.de/impressum/" +VUE_APP_ISSUE_URL="https://git.wtf-eg.de/kompetenzinventar/ki-doku/issues/new/choose" +VUE_APP_PRIVACY_URL="https://wtf-eg.de/datenschutz/" +VUE_APP_SOURCE_CODE_URL="https://git.wtf-eg.de/kompetenzinventar" +VUE_APP_TENANT="WTF" diff --git a/src/App.vue b/src/App.vue index 477a9e1..89904b9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,6 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later