diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-11-11 10:18:51 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-11-11 10:18:51 +0100 |
| commit | 18ef303d54f05b2f6f42aa8c0e72a077de094220 (patch) | |
| tree | cba7dfb1caad630d5decae8853d7bdacb6b8548e | |
| parent | bce327698b01aeb096c3b82de73b61b99ef2d5fb (diff) | |
| download | greatoffice-18ef303d54f05b2f6f42aa8c0e72a077de094220.tar.xz greatoffice-18ef303d54f05b2f6f42aa8c0e72a077de094220.zip | |
feat: Make and point to .env-example in README
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | code/app/.env-example | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -51,7 +51,7 @@ The following configuration keys need valid values in order to start the api (re - Equal to APP_CERT #### Flight mode -If you need to skip the setup of vault or is unable to reach your vault instance, set isInFlightMode to true in [code/api/src/Services/VaultService.cs](./code/api/src/Services/VaultService.cs). +If you need to skip the setup of vault or is unable to reach your vault instance, set isInFlightMode to true in [`code/api/src/Services/VaultService.cs`](./code/api/src/Services/VaultService.cs). ### Building and Developing @@ -71,7 +71,7 @@ Contains an svelte kit application that acts as the frontend for greatoffice ### Environment -The app reads environment variables from [`code/app/.env`](code/app/.env), keys need to start with `VITE_`. +The app reads environment variables from [`code/app/.env`](code/app/.env-example), keys need to start with `VITE_`. ### Building and Developing diff --git a/code/app/.env-example b/code/app/.env-example new file mode 100644 index 0000000..270860f --- /dev/null +++ b/code/app/.env-example @@ -0,0 +1,4 @@ +VITE_LOG_LEVEL=DEBUG +VITE_TESTING=true +VITE_TEST_USERNAME="ms@test.tld" +VITE_TEST_PASSWORD="test123"
\ No newline at end of file |
