forked from crowetic/commerce
Merge pull request #56 from leahtard/docs-local-setup-cli
Add documentation for retrieving env variables through Vercel CLI
This commit is contained in:
commit
d7da8ed5c5
@ -47,6 +47,12 @@ BIGCOMMERCE_STORE_API_TOKEN=<>
|
|||||||
BIGCOMMERCE_STORE_API_CLIENT_ID=<>
|
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.
|
Next, you're free to customize the starter. More updates coming soon. Stay tuned.
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user