docs: shorten npx commands (#4652)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user