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

@@ -17,23 +17,23 @@ npm run build
3\. Run migrations:
```bash
npx @medusajs/medusa-cli migrations run
npx medusa migrations run
```
4\. Create an admin user:
```bash
npx @medusajs/medusa-cli user -e user@test.com -p supersecret
npx medusa user -e user@test.com -p supersecret
```
5\. Optionally seed the database:
```bash
npx @medusajs/medusa-cli seed -f ./data/seed.json
npx medusa seed -f ./data/seed.json
```
6\. Start project:
```bash
npx @medusajs/medusa-cli develop
npx medusa develop
```