Skip to content

Scheduling infrastructure for absolutely everyone.

Separates appStore env file

zomars6ec2b20a23c2
diff --git a/.env.appStore.example b/.env.appStore.example
new file mode 100644
index 00000000000..d18d1601538
--- /dev/null
+++ b/.env.appStore.example
@@ -0,0 +1,74 @@
+# ********** INDEX **********
+#
+# - APP STORE
+# - DAILY.CO VIDEO
+# - GOOGLE CALENDAR/MEET/LOGIN
+# - HUBSPOT
+# - OFFICE 365
+# - SLACK
+# - STRIPE
+# - TANDEM
+# - ZOOM
+# - GIPHY
+# - VITAL
+
+# - APP STORE **********************************************************************************************
+# ⚠️ ⚠️ ⚠️ THESE WILL BE MIGRATED TO THE DATABASE TO PREVENT AWS's 4KB ENV QUOTA ⚠️ ⚠️ ⚠️
+# - DAILY.CO VIDEO
+DAILY_API_KEY=
+DAILY_SCALE_PLAN=''
+
+# - GOOGLE CALENDAR/MEET/LOGIN
+# Needed to enable Google Calendar integration and Login with Google
+# @see https://github.com/calendso/calendso#obtaining-the-google-api-credentials
+GOOGLE_API_CREDENTIALS='{}'
+# To enable Login with Google you need to:
+# 1. Set `GOOGLE_API_CREDENTIALS` above
+# 2. Set `GOOGLE_LOGIN_ENABLED` to `true`
+# When self-hosting please ensure you configure the Google integration as an Internal app so no one else can login to your instance
+# @see https://support.google.com/cloud/answer/6158849#public-and-internal&zippy=%2Cpublic-and-internal-applications
+GOOGLE_LOGIN_ENABLED=false
+
+# - HUBSPOT
+# Used for the HubSpot integration
+# @see https://github.com/calcom/cal.com/#obtaining-hubspot-client-id-and-secret
+HUBSPOT_CLIENT_ID=""
+HUBSPOT_CLIENT_SECRET=""
+
+# - OFFICE 365
+# Used for the Office 365 / Outlook.com Calendar / MS Teams integration
+# @see https://github.com/calcom/cal.com/#Obtaining-Microsoft-Graph-Client-ID-and-Secret
+MS_GRAPH_CLIENT_ID=
+MS_GRAPH_CLIENT_SECRET=
+
+# - SLACK
+# @see https://github.com/calcom/cal.com/#obtaining-slack-client-id-and-secret-and-signing-secret
+SLACK_SIGNING_SECRET=
+SLACK_CLIENT_ID=
+SLACK_CLIENT_SECRET=
+
+# - STRIPE
+NEXT_PUBLIC_STRIPE_PUBLIC_KEY= # pk_test_...
+STRIPE_PRIVATE_KEY= # sk_test_...
+STRIPE_WEBHOOK_SECRET= # whsec_...
+STRIPE_CLIENT_ID= # ca_...
+PAYMENT_FEE_FIXED=10 # Take 10 additional cents commission
+PAYMENT_FEE_PERCENTAGE=0.005 # Take 0.5% commission
+
+# - TANDEM
+# Used for the Tandem integration -- contact [email protected] for API access.
+TANDEM_CLIENT_ID=""
+TANDEM_CLIENT_SECRET=""
+TANDEM_BASE_URL="https://tandem.chat"
+
+# - ZOOM
+# Used for the Zoom integration
+# @see https://github.com/calcom/cal.com/#obtaining-zoom-client-id-and-secret
+ZOOM_CLIENT_ID=
+ZOOM_CLIENT_SECRET=
+
+# - GIPHY
+# Used for the Giphy integration
+# @see https://support.giphy.com/hc/en-us/articles/360020283431-Request-A-GIPHY-API-Key
+GIPHY_API_KEY=
+# *********************************************************************************************************
diff --git a/.env.example b/.env.example
index 7820589899f..dae85a0ed99 100644
--- a/.env.example
+++ b/.env.example
@@ -5,16 +5,6 @@
# - SHARED
# - NEXTAUTH
# - E-MAIL SETTINGS
-# - APP STORE
-# - DAILY.CO VIDEO
-# - GOOGLE CALENDAR/MEET/LOGIN
-# - HUBSPOT
-# - OFFICE 365
-# - SLACK
-# - STRIPE
-# - TANDEM
-# - ZOOM
-# - GIPHY
# - LICENSE *************************************************************************************************
# Set this value to 'agree' to accept our license:
@@ -115,64 +105,3 @@ EMAIL_SERVER_PASSWORD='<office365_password>'
## @see https://support.google.com/accounts/answer/185833
# EMAIL_SERVER_PASSWORD='<gmail_app_password>'
# **********************************************************************************************************
-
-# - APP STORE **********************************************************************************************
-# ⚠️ ⚠️ ⚠️ THESE WILL BE MIGRATED TO THE DATABASE TO PREVENT AWS's 4KB ENV QUOTA ⚠️ ⚠️ ⚠️
-# - DAILY.CO VIDEO
-DAILY_API_KEY=
-DAILY_SCALE_PLAN=''
-
-# - GOOGLE CALENDAR/MEET/LOGIN
-# Needed to enable Google Calendar integration and Login with Google
-# @see https://github.com/calendso/calendso#obtaining-the-google-api-credentials
-GOOGLE_API_CREDENTIALS='{}'
-# To enable Login with Google you need to:
-# 1. Set `GOOGLE_API_CREDENTIALS` above
-# 2. Set `GOOGLE_LOGIN_ENABLED` to `true`
-# When self-hosting please ensure you configure the Google integration as an Internal app so no one else can login to your instance
-# @see https://support.google.com/cloud/answer/6158849#public-and-internal&zippy=%2Cpublic-and-internal-applications
-GOOGLE_LOGIN_ENABLED=false
-
-# - HUBSPOT
-# Used for the HubSpot integration
-# @see https://github.com/calcom/cal.com/#obtaining-hubspot-client-id-and-secret
-HUBSPOT_CLIENT_ID=""
-HUBSPOT_CLIENT_SECRET=""
-
-# - OFFICE 365
-# Used for the Office 365 / Outlook.com Calendar / MS Teams integration
-# @see https://github.com/calcom/cal.com/#Obtaining-Microsoft-Graph-Client-ID-and-Secret
-MS_GRAPH_CLIENT_ID=
-MS_GRAPH_CLIENT_SECRET=
-
-# - SLACK
-# @see https://github.com/calcom/cal.com/#obtaining-slack-client-id-and-secret-and-signing-secret
-SLACK_SIGNING_SECRET=
-SLACK_CLIENT_ID=
-SLACK_CLIENT_SECRET=
-
-# - STRIPE
-NEXT_PUBLIC_STRIPE_PUBLIC_KEY= # pk_test_...
-STRIPE_PRIVATE_KEY= # sk_test_...
-STRIPE_WEBHOOK_SECRET= # whsec_...
-STRIPE_CLIENT_ID= # ca_...
-PAYMENT_FEE_FIXED=10 # Take 10 additional cents commission
-PAYMENT_FEE_PERCENTAGE=0.005 # Take 0.5% commission
-
-# - TANDEM
-# Used for the Tandem integration -- contact [email protected] for API access.
-TANDEM_CLIENT_ID=""
-TANDEM_CLIENT_SECRET=""
-TANDEM_BASE_URL="https://tandem.chat"
-
-# - ZOOM
-# Used for the Zoom integration
-# @see https://github.com/calcom/cal.com/#obtaining-zoom-client-id-and-secret
-ZOOM_CLIENT_ID=
-ZOOM_CLIENT_SECRET=
-
-# - GIPHY
-# Used for the Giphy integration
-# @see https://support.giphy.com/hc/en-us/articles/360020283431-Request-A-GIPHY-API-Key
-GIPHY_API_KEY=
-# *********************************************************************************************************
diff --git a/.gitignore b/.gitignore
index 53ec8256691..3df22db2607 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,6 +39,7 @@ yarn-error.log*
.env.production.local
.env.*
!.env.example
+!.env.appStore.example
# vercel
.vercel
diff --git a/packages/prisma/seed-app-store.ts b/packages/prisma/seed-app-store.ts
index 18d29cb54fa..fe5a4621dde 100644
--- a/packages/prisma/seed-app-store.ts
+++ b/packages/prisma/seed-app-store.ts
@@ -2,7 +2,7 @@ import { Prisma } from "@prisma/client";
import prisma from ".";
-require("dotenv").config({ path: "../../.env" });
+require("dotenv").config({ path: "../../.env.appStore" });
async function createApp(
slug: Prisma.AppCreateInput["slug"],