From d01f7be58a269d3b2a0d733059eba8c63b09c078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 15 Jul 2022 11:28:16 +0200 Subject: [PATCH 1/4] Add `.env.example` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- .env.example | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..2f62d61 --- /dev/null +++ b/.env.example @@ -0,0 +1,29 @@ +#### +# App Config +# Environment files are documented here: +# https://vitejs.dev/guide/env-and-mode.html#env-files +#### + +# Used for determining the homeserver to use for short urls etc. +# VITE_DEFAULT_HOMESERVER=http://localhost:8008 + +# Used for submitting debug logs to an external rageshake server +# VITE_RAGESHAKE_SUBMIT_URL=http://localhost:9110/api/submit + +# The Sentry DSN to use for error reporting. Leave undefined to disable. +# VITE_SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 + +# VITE_CUSTOM_THEME=true +# VITE_THEME_ACCENT=#0dbd8b +# VITE_THEME_ACCENT_20=#0dbd8b33 +# VITE_THEME_ALERT=#ff5b55 +# VITE_THEME_ALERT_20=#ff5b5533 +# VITE_THEME_LINKS=#0086e6 +# VITE_THEME_PRIMARY_CONTENT=#ffffff +# VITE_THEME_SECONDARY_CONTENT=#a9b2bc +# VITE_THEME_TERTIARY_CONTENT=#8e99a4 +# VITE_THEME_TERTIARY_CONTENT_20=#8e99a433 +# VITE_THEME_QUATERNARY_CONTENT=#6f7882 +# VITE_THEME_QUINARY_CONTENT=#394049 +# VITE_THEME_SYSTEM=#21262c +# VITE_THEME_BACKGROUND=#15191e From d097223d41aad16e55cb989ebc0c1d2e9227285c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 15 Jul 2022 11:29:25 +0200 Subject: [PATCH 2/4] Add `.env` to `.gitignore` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6a87b45..9bafa52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules .DS_Store +.env dist dist-ssr *.local From f876df6acce6f1243f2a037de4346c03c30d6318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 15 Jul 2022 11:30:52 +0200 Subject: [PATCH 3/4] Remove `.env` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- .env | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 2f62d61..0000000 --- a/.env +++ /dev/null @@ -1,29 +0,0 @@ -#### -# App Config -# Environment files are documented here: -# https://vitejs.dev/guide/env-and-mode.html#env-files -#### - -# Used for determining the homeserver to use for short urls etc. -# VITE_DEFAULT_HOMESERVER=http://localhost:8008 - -# Used for submitting debug logs to an external rageshake server -# VITE_RAGESHAKE_SUBMIT_URL=http://localhost:9110/api/submit - -# The Sentry DSN to use for error reporting. Leave undefined to disable. -# VITE_SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 - -# VITE_CUSTOM_THEME=true -# VITE_THEME_ACCENT=#0dbd8b -# VITE_THEME_ACCENT_20=#0dbd8b33 -# VITE_THEME_ALERT=#ff5b55 -# VITE_THEME_ALERT_20=#ff5b5533 -# VITE_THEME_LINKS=#0086e6 -# VITE_THEME_PRIMARY_CONTENT=#ffffff -# VITE_THEME_SECONDARY_CONTENT=#a9b2bc -# VITE_THEME_TERTIARY_CONTENT=#8e99a4 -# VITE_THEME_TERTIARY_CONTENT_20=#8e99a433 -# VITE_THEME_QUATERNARY_CONTENT=#6f7882 -# VITE_THEME_QUINARY_CONTENT=#394049 -# VITE_THEME_SYSTEM=#21262c -# VITE_THEME_BACKGROUND=#15191e From bb505273f4f7fd0ae510619ae578690d2b2ce99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 15 Jul 2022 11:32:07 +0200 Subject: [PATCH 4/4] Add `.env` instruction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 75c9a5e..076cb2c 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ git clone https://github.com/vector-im/element-call.git cd element-call yarn yarn link matrix-js-sdk +cp .env.example .env yarn dev ```