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

@@ -101,7 +101,7 @@ If you disabled the `serve` option, you need to run the admin dashboard separate
You can test the admin dashboard by running the following command in the directory of the Medusa backend:
```bash
npx @medusajs/medusa-cli develop
npx medusa develop
```
This starts the Medusa Backend and the admin dashboard. By default, the admin will be available on the URL `localhost:9000/app`. If you set the path option, then the admin will be available on `localhost:9000/<PATH>` with `<PATH>` being the value of the path option.
@@ -144,7 +144,7 @@ Passwords in Medusa are hashed using the [scrypt-kdf](https://www.npmjs.com/pack
To create a new admin user from the command line, run the following command in the directory holding your Medusa backend:
```bash
npx @medusajs/medusa-cli user -e some@email.com -p some-password
npx medusa user -e some@email.com -p some-password
```
This will create a new user that you can use to log into your admin panel.