docs: used the NPX CLI tool across docs (#4099)

This commit is contained in:
Shahed Nasser
2023-05-15 11:04:14 +03:00
committed by GitHub
parent 23a0c5b71e
commit 7da6cc961e
57 changed files with 74 additions and 68 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
npm run start
npx @medusajs/medusa-cli develop
```
Then run the Gatsby storefront by running this command in its directory:

View File

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

View File

@@ -172,7 +172,7 @@ npm run develop
Then, in the directory of your Medusa backend, run the following command to start the Medusa backend:
```bash npm2yarn
npm run start
npx @medusajs/medusa-cli 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.