Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
Info about CLI in readme (saleor#185)
Browse files Browse the repository at this point in the history
* Improve Setup section with CLI instructions


Co-authored-by: Karol <57907951+karolkielecki@users.noreply.github.com>
  • Loading branch information
2can and karolkielecki authored May 4, 2022
1 parent 3723dfb commit 9e1c780
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,29 @@ Pre configured tools for DX.

## Setup

Supercharge your development with our CLI tool and free developer account at [Saleor Cloud](https://cloud.saleor.io/). To download and install Saleor CLI, run the following command:
```
npm i -g saleor@latest
```

Set up your local storefront development environment by running the `storefront create` command. It will take you through the process of creating a new Saleor API instance (or choosing an existing one) and connecting it to your freshly cloned local storefront setup:

```
saleor storefront create
```

If you don't want to customize available options, you can also spawn a fully functional local storefront development environment, using`--demo` switch:

```
saleor storefront create --demo
```


[Learn more about Saleor CLI](https://docs.saleor.io/docs/3.x/cli)


---

Please note: this project use the [pnpm](https://pnpm.io/) package manager. To install it, run:

```bash
Expand Down

0 comments on commit 9e1c780

Please sign in to comment.