2022-08-19 08:32:21 +00:00

2022-08-17 12:51:44 +00:00
< div align = "center" >
< h1 > Saleor Dashboard< / h1 >
< / div >
< div align = "center" >
< p > A GraphQL-powered, single-page dashboard application for < a href = "https://github.com/saleor/saleor" > Saleor< / a > .< / p >
< / div >
< div align = "center" >
< a href = "https://saleor.io/" > 🏠 Website< / a >
< span > • < / span >
< a href = "https://docs.saleor.io/docs/3.x/" > 📚 Docs< / a >
< span > • < / span >
< a href = "https://saleor.io/blog/" > 📰 Blog< / a >
< span > • < / span >
< a href = "https://twitter.com/getsaleor" > 🐦 Twitter< / a >
< / div >
2019-06-19 16:09:48 +00:00
2022-12-06 14:23:04 +00:00
< div align = "center" >
< a href = "https://demo.saleor.io/dashboard" > ▶️ Demo< / a >
< span > • < / span >
< a href = "https://githubbox.com/saleor/saleor-dashboard" > 🔎 Explore Code< / a >
< / div >
2019-06-19 16:04:50 +00:00
2022-12-06 14:23:04 +00:00
## Prerequisites
2019-06-19 16:04:50 +00:00
2022-11-21 10:52:35 +00:00
- Node.js v18+
2022-12-06 14:23:04 +00:00
- A running instance of [Saleor ](https://github.com/saleor/saleor/ )
2020-01-22 14:51:33 +00:00
2022-12-06 14:23:04 +00:00
## Development
2020-01-22 14:51:33 +00:00
2022-12-06 14:23:04 +00:00
1. Clone the repository:
2020-01-22 14:51:33 +00:00
2022-12-06 14:23:04 +00:00
```bash
git clone https://github.com/saleor/saleor-dashboard.git
2020-01-22 14:51:33 +00:00
```
2022-12-06 14:23:04 +00:00
2. Enter the project directory:
2019-06-19 16:04:50 +00:00
2022-12-06 14:23:04 +00:00
```bash
cd saleor-dashboard
2019-06-19 16:04:50 +00:00
```
2022-11-30 16:20:20 +00:00
2022-12-06 14:23:04 +00:00
3. Install the dependencies:
2022-11-30 16:20:20 +00:00
2022-12-06 14:23:04 +00:00
```bash
npm i
2019-06-19 16:04:50 +00:00
```
2022-11-02 13:53:38 +00:00
2022-12-06 14:23:04 +00:00
4. Configure the env vars as described in [docs/configuration.md ](docs/configuration.md ).
2019-06-19 14:40:52 +00:00
2022-12-06 14:23:04 +00:00
5. Start the development server with:
2019-06-19 14:40:52 +00:00
2022-12-06 14:23:04 +00:00
```bash
npm run dev
2019-06-19 16:04:50 +00:00
```
2020-05-19 08:52:44 +00:00
2022-12-06 14:23:04 +00:00
> Note:
> If you see CORS errors, check [CORS configuration](https://docs.saleor.io/docs/3.x/developer/running-saleor/configuration#allowed_client_hosts) of your Saleor instance or CORS settings in the Cloud Console.
2021-01-22 14:05:26 +00:00
2022-12-06 14:23:04 +00:00
## Docs
2021-01-22 14:05:26 +00:00
2022-12-06 14:23:04 +00:00
- [Configuration ⚙️ ](docs/configuration.md )
- [Error tracking ⚠️ ](docs/error-tracking.md )
- [Running tests 🏁 ](docs/running-tests.md )
- [Usage with Docker 🐳 ](docs/docker.md )
- [Sentry adapter 🗼 ](docs/sentry-adapter.md )
- [Deployment 🌐 ](docs/deployment.md )