-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(core): Update core .env.example (#651)
- Loading branch information
1 parent
ac57f18
commit d486c49
Showing
1 changed file
with
32 additions
and
0 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,4 +1,36 @@ | ||
# The hash visible in the subject store's URL when signed in to the store control panel. | ||
# The control panel URL is of the form `https://store-{hash}.mybigcommerce.com`. | ||
BIGCOMMERCE_STORE_HASH= | ||
|
||
# The access token from a store-level API account. The only scope required to run Catalyst is Carts `manage`. | ||
# See https://developer.bigcommerce.com/docs/start/authentication/api-accounts#store-level-api-accounts | ||
BIGCOMMERCE_ACCESS_TOKEN= | ||
|
||
# A bearer token that authorizes server-to-server requests to the GraphQL Storefront API | ||
# See https://developer.bigcommerce.com/docs/rest-authentication/tokens/customer-impersonation-token | ||
BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN= | ||
|
||
# The Channel ID for the selling channel being serviced by this Catalyst storefront. | ||
# Channel ID 1 will allow you to load the same data being used on the default Stencil storefront on your store, | ||
# but it is strongly recommended to create a new channel instead for production. | ||
# The CLI can do this for you. | ||
BIGCOMMERCE_CHANNEL_ID=1 | ||
|
||
# Set to true to allow the /admin route to redirect to the BigCommerce control panel. | ||
# `false` is recommended for production. Defaults to false when not specified. | ||
# You may also delete /admin/route.ts if you wish. | ||
ENABLE_ADMIN_ROUTE=true | ||
|
||
# Used by Auth.js, formerly NextAuth. To generate, run `openssl rand -hex 32` in your terminal. | ||
AUTH_SECRET= | ||
|
||
# Recommended so that you can use Turborepo's Remote Cache feature with signed artifacts | ||
# https://turbo.build/repo/docs/core-concepts/remote-caching#artifact-integrity-and-authenticity-verification | ||
# This can also be generated with `openssl rand -hex 32`, but do not re-use the value from AUTH_SECRET | ||
TURBO_REMOTE_CACHE_SIGNATURE_KEY= | ||
|
||
# NextJS will persists cached queries in Data Cache | ||
# The time persisted is not defined | ||
# https://nextjs.org/docs/app/building-your-application/caching#data-cache | ||
# This sets a sensible revalidation target for cached requests | ||
NEXT_PUBLIC_DEFAULT_REVALIDATE_TARGET=3600 |