From a7ad8ec638cb08f3e4d7cd42e3a2bc7d0ba360cc Mon Sep 17 00:00:00 2001 From: heba Date: Tue, 29 Jun 2021 04:49:58 +0200 Subject: [PATCH] edited the local template and the readme files to add vendure configrations --- .env.template | 3 +++ README.md | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/.env.template b/.env.template index c5543e4b1..2a99cb097 100644 --- a/.env.template +++ b/.env.template @@ -16,3 +16,6 @@ NEXT_PUBLIC_SWELL_PUBLIC_KEY= NEXT_PUBLIC_SALEOR_API_URL= NEXT_PUBLIC_SALEOR_CHANNEL= + +NEXT_PUBLIC_VENDURE_SHOP_API_URL= +NEXT_PUBLIC_VENDURE_LOCAL_URL= diff --git a/README.md b/README.md index 8204b3445..f8fed7b7a 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,14 @@ And check that the `tsconfig.json` resolves to the chosen provider: "@framework/*": ["framework/shopify/*"] ``` +The setup for Vendure would look like this: + +``` +COMMERCE_PROVIDER=vendure +NEXT_PUBLIC_VENDURE_SHOP_API_URL=https://demo.vendure.io/shop-api +NEXT_PUBLIC_VENDURE_LOCAL_URL=/vendure-shop-api +``` + That's it! ### Features