docs: added dividers + see also section (#2899)
This commit is contained in:
@@ -12,6 +12,8 @@ Alternatively, you can use this button to deploy the Gatsby Storefront to Netlif
|
||||
<img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify" class="no-zoom-img" />
|
||||
</a>
|
||||
|
||||
---
|
||||
|
||||
## Prerequisites
|
||||
|
||||
### Medusa Components
|
||||
@@ -35,6 +37,8 @@ If you want to use another Git Provider, it’s possible to follow along with th
|
||||
|
||||
- Git’s CLI tool. You can follow [this documentation to learn how to install it for your operating system](../../tutorial/0-set-up-your-development-environment.mdx#git).
|
||||
|
||||
---
|
||||
|
||||
## Create GitHub Repository
|
||||
|
||||
Before you can deploy your Gatsby storefront you need to create a GitHub repository and push the code base to it.
|
||||
@@ -74,6 +78,8 @@ git push origin master
|
||||
|
||||
After pushing the changes, you can find the files in your GitHub repository.
|
||||
|
||||
---
|
||||
|
||||
## Deploy to Netlify
|
||||
|
||||
This section covers how to deploy Netlify either through the Netlify website or using Netlify’s CLI tool.
|
||||
@@ -291,6 +297,8 @@ The Gatsby storefront will then open in your browser.
|
||||
|
||||
Before you can use the Gatsby storefront, you must add the URL as an environment variable on your deployed Medusa server.
|
||||
|
||||
---
|
||||
|
||||
## Configure CORS Variable on the Medusa Server
|
||||
|
||||
To send requests to the Medusa server from the Gatsby storefront, you must set the `STORE_CORS` environment variable on your server to the Gatsby storefront’s URL.
|
||||
@@ -311,7 +319,9 @@ Where `<STOREFRONT_URL>` is the URL of your Gatsby storefront that you just depl
|
||||
|
||||
Then, restart your Medusa server. Once the server is running again, you can use your Gatsby storefront.
|
||||
|
||||
## What’s Next
|
||||
---
|
||||
|
||||
- Learn how to [deploy the Medusa Admin](../admin/index.mdx).
|
||||
- Learn more about [Medusa’s configurations](../../usage/configurations.md).
|
||||
## See Also
|
||||
|
||||
- [Deploy the Medusa Admin](../admin/index.mdx)
|
||||
- [Configure your Medusa server](../../usage/configurations.md)
|
||||
|
||||
Reference in New Issue
Block a user