saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
770 stars 672 forks source link

WARNING in EnvironmentPlugin - BACKEND_URL environment variable is undefined. #376

Closed zatin009 closed 5 years ago

zatin009 commented 5 years ago

image

mateuszkula commented 5 years ago

This is intended behavoiur.

Accordingly to storefront README file:

To run the storefront, you have to set the BACKEND_URL environment to point to the Saleor instance. If you are running Saleor locally with the default settings, set BACKEND_URL to: http://localhost:8000/.

zatin009 commented 5 years ago

@mateuszkula Howdy dear, May I know which file name or directory path I should place the BACKEND_URL = "http://localhost:8000/"

mateuszkula commented 5 years ago

@zatin009 You do not set it in file. Please follow latest comment from @korycins https://spectrum.chat/saleor/general/hello-team-may-i-know-how-to-install-the-pwa-store-front-in-local-computer~6bb6d8ad-0560-48f9-912a-9822ebd50adf

zatin009 commented 5 years ago

@mateuszkula Thanks you