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:
@@ -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 haven’t deployed your Medusa server yet, you can leave the value blank
|
||||
|
||||
:::
|
||||
|
||||

|
||||
:::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 you’re done, scroll down and click on Deploy site.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user