docs: added a note about using Yarn for installation (#2778)

* docs: added a note about yarn being faster

* docs: fixed env variable used in admin deployment guide

* docs: fixed the use of noReport with npm2yarn
This commit is contained in:
Shahed Nasser
2022-12-13 11:52:55 +02:00
committed by GitHub
parent 6c796bf582
commit 7227c1539b
9 changed files with 37 additions and 9 deletions

View File

@@ -34,6 +34,12 @@ Instead of manually following this guide to install then later deploy the Medusa
## Install the Admin
:::tip
It is recommended to use [Yarn](https://yarnpkg.com/getting-started/install) for the installation process as it's much faster than using NPM.
:::
Start by cloning the [Admin GitHub repository](https://github.com/medusajs/admin) and changing to the cloned directory:
```bash
@@ -55,7 +61,7 @@ Before running your Medusa admin, make sure that your Medusa server is running.
To run your Medusa server, go to the directory holding the server and run:
```bash npm2yarn noReport
```bash npm2yarn
npm run start
```
@@ -77,7 +83,7 @@ Use your Medusa admins user credentials to log in.
If you installed the demo data when you installed the Medusa server by using the `--seed` option or running:
```bash npm2yarn noReport
```bash npm2yarn
npm run seed
```