saleor-dashboard/README.md

71 lines
1.8 KiB
Markdown
Raw Normal View History

2022-08-19 08:32:21 +00:00
![Saleor Dashboard](https://user-images.githubusercontent.com/44495184/185379472-2a204c0b-9b7a-4a3e-93c0-2cb85205ed5e.png)
<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
<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
## Prerequisites
2019-06-19 16:04:50 +00:00
2022-11-21 10:52:35 +00:00
- Node.js v18+
- A running instance of [Saleor](https://github.com/saleor/saleor/)
2020-01-22 14:51:33 +00:00
## Development
2020-01-22 14:51:33 +00:00
1. Clone the repository:
2020-01-22 14:51:33 +00:00
```bash
git clone https://github.com/saleor/saleor-dashboard.git
2020-01-22 14:51:33 +00:00
```
2. Enter the project directory:
2019-06-19 16:04:50 +00:00
```bash
cd saleor-dashboard
2019-06-19 16:04:50 +00:00
```
3. Install the dependencies:
```bash
npm i
2019-06-19 16:04:50 +00:00
```
4. Configure the env vars as described in [docs/configuration.md](docs/configuration.md).
2019-06-19 14:40:52 +00:00
5. Start the development server with:
2019-06-19 14:40:52 +00:00
```bash
npm run dev
2019-06-19 16:04:50 +00:00
```
2020-05-19 08:52:44 +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.
## Docs
- [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)