From e4b6b65aaeaa86a80a39a9093071a2982c216372 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 27 Apr 2022 22:41:08 +0200 Subject: [PATCH] Make .env template files --- src/client/dotenv-template | 3 +++ src/server/dotenv-template | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/client/dotenv-template create mode 100644 src/server/dotenv-template diff --git a/src/client/dotenv-template b/src/client/dotenv-template new file mode 100644 index 0000000..38df4b2 --- /dev/null +++ b/src/client/dotenv-template @@ -0,0 +1,3 @@ +REACT_APP_API_URL=https://asura.feal.no/api +REACT_APP_LOGIN_URL=https://asura.feal.no/auth/google +BROWSER=none diff --git a/src/server/dotenv-template b/src/server/dotenv-template new file mode 100644 index 0000000..1d78c13 --- /dev/null +++ b/src/server/dotenv-template @@ -0,0 +1,13 @@ +DB_HOST=url to mysql server +DB_USER= +DB_PASSWORD= +DB_DATABASE= +SERVER_PORT=3000 +GOOGLE_CLIENT_ID=xxxxxxxxxxxxxxx.apps.googleusercontent.com +GOOGLE_CLIENT_SECRET=GOCSPX-xxxxxxxxx +GOOGLE_CALLBACK_URL=https://asura.feal.no/auth/google/callback +AUTH_SUCCESS_REDIRECT=https://asura.feal.no/ +DEBUG_ALLOW_ALL=false +COOKIE_SECURE=false +COOKIE_SECRET=any random string +CLIENT_BUILD_DIR=../client/build