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

@@ -123,7 +123,7 @@ npm run build
Then, run the `migration` command:
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
You should see that your migration have executed.

View File

@@ -109,7 +109,7 @@ npm run build
Then, run the following command to migrate your changes to the database:
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
You should see that your migration was executed, which means your changes were reflected in the database schema.

View File

@@ -125,7 +125,7 @@ npm run build
Then, run the following command to start your backend:
```bash npm2yarn
npx @medusajs/medusa-cli develop
npx medusa develop
```
You should see your custom implementation working as expected.

View File

@@ -90,7 +90,7 @@ npm run build
The last step is to run the migration with the command detailed earlier
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
If you check your database now you should see that the change defined by the migration has been applied successfully.

View File

@@ -32,7 +32,7 @@ Migrations are used to apply changes to the database schema. However, there are
Using the Medusa CLI tool, you can run migrations with the following command:
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
This will check for any migrations that contain changes to your database schema that aren't applied yet and run them on your backend.