-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds a `prepare-env` script * Updates README * Removes / reorgs `.env` files
- Loading branch information
Showing
9 changed files
with
947 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
# Common PUBLIC variables can go in here to conserve space for the Lambda | ||
# in-memory vars | ||
# Public variables can go in here to conserve space for the Lambda in-memory vars | ||
|
||
# General | ||
NEXT_PUBLIC_LOCALE='en-US' | ||
|
||
# TakeShape | ||
NEXT_PUBLIC_TAKESHAPE_API_URL='https://api.takeshape.io/project/06ccc3dc-a9da-4f5b-9142-5a104db52ee3/v3/graphql' | ||
NEXT_PUBLIC_TAKESHAPE_ANONYMOUS_API_KEY='a9a84ace044c4d2796112c5710008a2f' | ||
|
||
# TakeShape Auth | ||
NEXT_PUBLIC_TAKESHAPE_AUTH_ISSUER='https://penny-ecommerce.vercel.app/' | ||
NEXT_PUBLIC_TAKESHAPE_AUTH_AUDIENCE='https://api.takeshape.io/project/06ccc3dc-a9da-4f5b-9142-5a104db52ee3/open-id' | ||
|
||
# Default newsletter list | ||
NEXT_PUBLIC_DEFAULT_KLAVIYO_LIST_ID='WkaTiM' | ||
|
||
# Sentry | ||
SENTRY_IGNORE_API_RESOLUTION_ERROR='1' | ||
|
||
# Shopify | ||
# Scopes: unauthenticated_write_checkouts, | ||
# unauthenticated_read_checkouts, unauthenticated_write_customers, | ||
|
@@ -35,3 +29,12 @@ NEXT_PUBLIC_SITE_CONTACT_EMAIL='[email protected]' | |
|
||
# Contact Provider | ||
NEXT_PUBLIC_CONTACT_PROVIDER='gorgias' | ||
|
||
# ReCAPTCHA | ||
NEXT_PUBLIC_RECAPTCHA_SITE_KEY='6LdArl4gAAAAADf30J5nPO2hStNG8_IYrnl43RlT' | ||
|
||
# Sentry | ||
NEXT_PUBLIC_SENTRY_DSN='https://[email protected]/6512748' | ||
SENTRY_ORG='takeshape-deluxetm-sample-proj' | ||
SENTRY_PROJECT='deluxe-sample-project' | ||
SENTRY_IGNORE_API_RESOLUTION_ERROR='1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,15 @@ | ||
# NOTE: Only add public env variables here. | ||
# This file has settings that only apply to test runs | ||
# Only put public variables in here, anything secret should go in your runtime env | ||
|
||
# Locale for currency formatting | ||
NEXT_PUBLIC_LOCALE='en-US' | ||
# e.g.: 'dev-by9w1mxg.us.auth0.com' | ||
NEXT_PUBLIC_AUTH0_DOMAIN='dev-by9w1mxg.us.auth0.com' | ||
# Your Auth0 application's Client ID | ||
NEXT_PUBLIC_AUTH0_CLIENT_ID='qFoQD6d6vGhob9B8lguJbolKKXnL6jDQ' | ||
# Where to redirect after you login | ||
NEXT_PUBLIC_AUTH0_REDIRECT_URI='http://localhost:3000/' | ||
# Auth0 scopes to set, these are required for the necessary auth0 data | ||
NEXT_PUBLIC_AUTH0_SCOPE='openid profile email offline_access' | ||
# Auth0 audience must match the audience of your Custom API in Auth0 and TakeShape service | ||
# Looks like: https://api.takeshape.io/project/f56d44bb-8261-41e0-b3ee-af37931cb493/my-auth-0-service-id | ||
NEXT_PUBLIC_AUTH0_AUDIENCE='https://api.takeshape.io/project/06ccc3dc-a9da-4f5b-9142-5a104db52ee3/auth-0' | ||
# Copy the API Endpoint from your TakeShape Project > API > API Endpoint in the lower left | ||
# Looks like: https://api.takeshape.io/project/f56d44bb-8261-41e0-b3ee-af37931cb493/v3/graphql | ||
NEXT_PUBLIC_TAKESHAPE_API_URL='https://api.takeshape.io/project/06ccc3dc-a9da-4f5b-9142-5a104db52ee3/v3/graphql' | ||
# An API Key from TakeShape with the `anonymous` role | ||
NEXT_PUBLIC_TAKESHAPE_ANONYMOUS_API_KEY='a9a84ace044c4d2796112c5710008a2f' | ||
# A Stripe API publishable key | ||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY='pk_test_51JG7sTEjMGaPiQ74KqSiOjmOM3A64zrSHkogtR9rzMfC3PZauNAwGV7nDZmH1tNx9LwcJT7pLoKwMZSHaW30EifX00dYuNHWaq' | ||
# Default newsletter list | ||
NEXT_PUBLIC_DEFAULT_KLAVIYO_LIST_ID='test-list' | ||
|
||
# Contact Email | ||
NEXT_PUBLIC_SITE_CONTACT_EMAIL='[email protected]' | ||
|
||
# ReCAPTCHA | ||
NEXT_PUBLIC_RECAPTCHA_SITE_KEY='' | ||
|
||
# Sentry | ||
NEXT_PUBLIC_SENTRY_DSN='' | ||
SENTRY_IGNORE_API_RESOLUTION_ERROR='1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# These variables are only loaded when NODE_ENV=test, such as with Cypress or Jest. | ||
# Any variable in here will override or add to the variables in the .env file. | ||
# Read more here: https://nextjs.org/docs/basic-features/environment-variables#test-environment-variables | ||
|
||
# ReCAPTCHA | ||
NEXT_PUBLIC_RECAPTCHA_SITE_KEY='' | ||
|
||
# Sentry | ||
NEXT_PUBLIC_SENTRY_DSN='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
94244d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
penny – ./
penny-ecommerce.vercel.app
penny-git-main-takeshape.vercel.app
penny-takeshape.vercel.app
penny-demo.takeshape.io