saleor / saleor-dashboard

A GraphQL-powered, single-page dashboard application for Saleor.
BSD 3-Clause "New" or "Revised" License
833 stars 1.09k forks source link

[Bug]: Saleor-dashboard is not working in my PC (windows). #5153

Open oqildev opened 1 month ago

oqildev commented 1 month ago

Description of the issue

I want to run saleor-dashboard in my computer. I have own server in https://xxxxx-api.xxxxxxxx.io/graphql/ To start dashboard What else should I do? Is it possible to use saleor-dashboard without running saleor-platform?

Steps to reproduce the problem

installed saleor-dashboard has own server for dashboard run dashboard Not allowed to load local resource: file:///D:/Devsymfony/saleor-dashboard/src/index.tsx

What did you expect to happen?

Is It possible to work without saleor-platform?

Additional information

No response

Environment

Browser and version: … OS and version: … Dashboard version: … Core version: …

Cloud11PL commented 3 weeks ago

Hi, you can run Dashboard without saleor-platform. You need to run Dashboard with environment variables. Please copy the contents of .env.template into a new file .env and change the API_URL to your server's URL. Refer to the README document. Let me know if it worked for you 😺