From 4b164d20a3122004b762c3fc1221f294f629a7c0 Mon Sep 17 00:00:00 2001 From: Jakub Neander Date: Thu, 29 Jul 2021 02:31:35 +0200 Subject: [PATCH] provide more details for Saleor in its README (#419) --- framework/saleor/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/framework/saleor/README.md b/framework/saleor/README.md index 590fb0275..00af272b0 100644 --- a/framework/saleor/README.md +++ b/framework/saleor/README.md @@ -12,4 +12,11 @@ Copy the `.env.template` file in this directory to `.env.local` in the main dire cp framework/saleor/.env.template .env.local ``` -Then, set the environment variables in `.env.local` to match the ones from your store. +Then, set the environment following variables in your `.env.local`. Both, `NEXT_PUBLIC_SALEOR_API_URL` and `COMMERCE_IMAGE_HOST` must point to your own Saleor instance. + +``` +COMMERCE_PROVIDER=saleor +NEXT_PUBLIC_SALEOR_API_URL=https://vercel.saleor.cloud/graphql/ +NEXT_PUBLIC_SALEOR_CHANNEL=default-channel +COMMERCE_IMAGE_HOST=vercel.saleor.cloud +```