docs: used the NPX CLI tool across docs (#4099)
This commit is contained in:
@@ -33,5 +33,5 @@ To avoid unexpected issues with dependencies, it is also recommended to update a
|
||||
After updating your Medusa server and before running it, run the following command to run the latest migrations:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
@@ -4,7 +4,7 @@ description: 'Actions Required for v.1.3.8'
|
||||
|
||||
# v1.3.8
|
||||
|
||||
Updating your medusa backend to version `1.3.8` may cause issues when using NPM. Please refer to this guide for more details on how to resolve it.
|
||||
Updating your Medusa backend to version `1.3.8` may cause issues when using NPM. Please refer to this guide for more details on how to resolve it.
|
||||
|
||||
## Update Using Yarn
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ description: 'Actions Required for v.1.6.1'
|
||||
|
||||
# v1.6.1
|
||||
|
||||
Updating your medusa backend to version `1.6.1` requires running migrations on your backend.
|
||||
Updating your Medusa backend to version `1.6.1` requires running migrations on your backend.
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -19,5 +19,5 @@ Without running the migrations, you might have trouble accessing and using the M
|
||||
After updating your backend, run migrations with the following command:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
@@ -21,7 +21,7 @@ In addition, after introducing the Claim Order feature, this version of Medusa i
|
||||
Run the following command to run migrations:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
### Change Used Methods
|
||||
|
||||
@@ -23,7 +23,7 @@ In addition, this version features some fixes to gift cards that requires runnin
|
||||
In the directory of your Medusa backend, run the following command after updating the backend:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
### Run Migration Script
|
||||
|
||||
@@ -33,5 +33,5 @@ It's also recommended to update any other Medusa plugins or packages you have in
|
||||
After updating your Medusa server and before running it, run the following command to run the latest migrations:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
@@ -21,7 +21,7 @@ Version 1.7.3 of Medusa keeps the feature flags for these two features, but they
|
||||
After updating your Medusa backend and before running it, run the following command to run the latest migration:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
### Run Migration Script for Sales Channels
|
||||
|
||||
@@ -35,5 +35,5 @@ It's also recommended to update any other Medusa plugins or packages you have in
|
||||
After updating your Medusa backend and before running it, run the following command to run the latest migrations:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
@@ -85,5 +85,5 @@ Make sure to replace `your-redis-url` with the connection URL to your Redis inst
|
||||
Finally, you should run migrations to ensure your database is up to date with our schema changes:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
@@ -33,5 +33,5 @@ It's also recommended to update any other Medusa plugins or packages you have in
|
||||
After updating your Medusa backend and before running it, run the following command to run the latest migrations:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
@@ -45,5 +45,5 @@ It's also recommended to update any other Medusa plugins or packages you have in
|
||||
After updating your Medusa backend and before running it, run the following command to run the latest migrations:
|
||||
|
||||
```bash
|
||||
medusa migrations run
|
||||
npx @medusajs/medusa-cli migrations run
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user