From 1b2051273da2c79c732322dacc27e0562edd0162 Mon Sep 17 00:00:00 2001 From: Chloe Date: Fri, 10 Mar 2023 10:56:39 +0700 Subject: [PATCH] update readme Signed-off-by: Chloe --- packages/opencommerce/README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/opencommerce/README.md b/packages/opencommerce/README.md index 484430fb5..fded4a452 100644 --- a/packages/opencommerce/README.md +++ b/packages/opencommerce/README.md @@ -19,14 +19,11 @@ Storefront API URL: https://api.open-commerce.io/graphql ``` COMMERCE_PROVIDER=@vercel/commerce-opencommerce -OPENCOMMERCE_STOREFRONT_API_URL=https://api.open-commerce.io/graphql -OPENCOMMERCE_PRIMARY_SHOP_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx -OPENCOMMERCE_IMAGE_DOMAIN=api.open-commerce.io +NEXT_PUBLIC_OPENCOMMERCE_API_URL=http://api.open-commerce.io/graphql +NEXT_PUBLIC_OPENCOMMERCE_IMAGE_DOMAIN=api.open-commerce.io ``` -**Note**: We can query the primary shop ID from the graphql api playground - -3. Run `yarn` and `yarn dev` in the root folder +3. Run `pnpm install` and `cd site & pnpm dev` in the root folder ### Troubleshoot