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

@@ -8,7 +8,7 @@ To resolve this issue, make sure you change into the `backend` directory of the
```bash npm2yarn
cd backend
npm run start
npx @medusajs/medusa-cli develop
```
## Other Errors

View File

@@ -5,7 +5,7 @@ If you run into errors after updating Medusa and its dependencies, it's highly r
If there's no upgrade guide for your version, make sure that you ran the `migrations` command in the root directory of your Medusa backend:
```bash
medusa migrations run
npx @medusajs/medusa-cli migrations run
```
This ensures your backend has the latest database structure required. Then, try running your Medusa backend again and check whether the same error occurs.

View File

@@ -10,7 +10,7 @@ password: supersecret
Alternatively, you can create your own users using the Medusa CLI tool:
```bash
medusa user -e some@email.com -p somepassword
npx @medusajs/medusa-cli user -e some@email.com -p somepassword
```
---

View File

@@ -41,7 +41,7 @@ database_database: "./medusa-db.sql",
Then, migrate the database schema to the new PostgreSQL database:
```bash
medusa migrations run
npx @medusajs/medusa-cli migrations run
```
:::tip