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

@@ -128,7 +128,7 @@ This section explains how to deploy the admin using the Vercel website:
1. Open the [Vercel dashboard](https://vercel.com/dashboard) after logging in.
2. Click on the “Add New…” button next to the search bar.
3. Choose Project from the dropdown.
4. In the new page that opens, find the Git repository that holds your medusa backend and click on the Import button. If you havent connected your Vercel account to any Git provider, you must do that first.
4. In the new page that opens, find the Git repository that holds your Medusa backend and click on the Import button. If you havent connected your Vercel account to any Git provider, you must do that first.
5. In the Configure Project form:
1. Set the Framework Preset to Vite.
2. Open the Build and Output Settings collapsible, and set the Build Command to `yarn build:admin` and the Output Directory to `build`. If youve configured the admin to use a different output directory, then change it to that directory.

View File

@@ -152,7 +152,7 @@ If you havent added any products to your Medusa backend, the build process mi
Alternatively, you can seed the backend with demo data by running this command in the root directory of the backend:
```bash noReport
medusa seed -f data/seed.json
npx @medusajs/medusa-cli seed -f data/seed.json
```
:::
@@ -285,7 +285,7 @@ If you havent added any products to your Medusa backend, the build process mi
Alternatively, you can seed the backend with demo data by running this command in the root directory of the backend:
```bash noReport
medusa seed -f data/seed.json
npx @medusajs/medusa-cli seed -f data/seed.json
```
:::