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

@@ -117,7 +117,7 @@ npm run build
Run your backend to test it out:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
Then, try out your strategy using the Complete Cart endpoint. You should see the logic you implemented used for completing the cart.

View File

@@ -43,7 +43,7 @@ module.exports = {
Run the following command to reflect schema changes into your database:
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
### Step 4: Run Migration Script
@@ -83,7 +83,7 @@ module.exports = {
Run the following command to reflect schema changes into your database:
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
### Step 4: Run Migration Script

View File

@@ -122,7 +122,7 @@ npm run build
Run your backend to test it out:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
Then, try out your strategy using any of the [Products](/api/store/#tag/Product) or [Carts](/api/store/#tag/Cart) endpoints which include retrieving product variants and line items respectively. You should then see the prices in the response based on your implemented strategy.

View File

@@ -202,7 +202,7 @@ npm run build
Run your backend to test it out:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
Before you can test out your tax provider, you must enable it in a region. You can do that either using the [Medusa Admin dashboard](../../../user-guide/taxes/manage.md#change-tax-provider) or using the [Update Region admin endpoint](../admin/manage-tax-settings.mdx#change-tax-provider-of-a-region).

View File

@@ -120,7 +120,7 @@ npm run build
Run your backend to test it out:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
To test it out, you can simulate a checkout flow and check the calculated taxes to see if it matches the logic you implemented in the `calculate` method.