docs: shorten npx commands (#4652)

This commit is contained in:
Shahed Nasser
2023-08-01 10:50:19 +03:00
committed by GitHub
parent 26a606a1bb
commit 2e42141822
60 changed files with 69 additions and 69 deletions

View File

@@ -251,7 +251,7 @@ export const query = graphql`
To test this out, run your Medusa backend by running this command in its directory:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
Then run the Gatsby storefront by running this command in its directory:

View File

@@ -164,7 +164,7 @@ npm run seed
To start the backend run the following command:
```bash
npx @medusajs/medusa-cli develop
npx medusa develop
```
If you seeded the database with demo data, you should see that events related to the products are triggered.

View File

@@ -175,7 +175,7 @@ npm run develop
Then, in the directory of your Medusa backend, run the following command to start the Medusa backend:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
Once you start your Medusa backend, if you ran the `--seed` command when you created your Medusa backend, youll see that `product.created` events have been triggered along with similar events. This will update Strapi with the products you seeded.