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

@@ -113,7 +113,7 @@ Next, click the “Show advanced” button, which is above the “Deploy site”
Under the “Advanced build settings” section click on the “New variable” button. This will show two inputs for the key and value of the environment variable.
For the first field enter the key `GATSBY_MEDUSA_BACKEND_URL` and for the value enter the URL of your Medusa server.
For the first field enter the key `MEDUSA_BACKEND_URL` and for the value enter the URL of your Medusa server.
:::caution
@@ -121,7 +121,11 @@ If you havent deployed your Medusa server yet, you can leave the value blank
:::
![Environment Variable](https://res.cloudinary.com/dza7lstvk/image/upload/v1668001898/Medusa%20Docs/Netlify/DnutZfT_rv8iel.png)
:::note
In previous versions of the admin, the environment variable name was `GATSBY_MEDUSA_BACKEND_URL` or `GATSBY_STORE_URL` instead. The admin remains backwards compatible, so if you've used this an older version you can keep the same environment variables. However, it's highly recommended you change it to `MEDUSA_BACKEND_URL`.
:::
Once youre done, scroll down and click on Deploy site.