From cee786c5f0b92af819e857261f869b67aba41f28 Mon Sep 17 00:00:00 2001 From: Leah Wagner Date: Sat, 31 Oct 2020 14:34:34 -0700 Subject: [PATCH] Add documentation for retrieving env variables through Vercel CLI --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 76b311e42..5c2f2f153 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ BIGCOMMERCE_STORE_API_TOKEN=<> BIGCOMMERCE_STORE_API_CLIENT_ID=<> ``` +If your project was started with a "Deploy with Vercel" button, you can use Vercel's CLI to retrieve these credentials. + +1. Install Vercel CLI: `npm i -g vercel` +2. Link local instance with Vercel and Github accounts (creates .vercel file): `vercel link` +3. Download your environment variables: `vercel env pull .env.local` + Next, you're free to customize the starter. More updates coming soon. Stay tuned.