docs: added dividers + see also section (#2899)

This commit is contained in:
Shahed Nasser
2022-12-26 15:52:08 +02:00
committed by GitHub
parent b0e5769e27
commit b0ebfd6bcf
100 changed files with 1047 additions and 291 deletions
@@ -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, its possible to follow along with th
- Gits 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 Netlifys 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 storefronts 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.
## Whats Next
---
- Learn how to [deploy the Medusa Admin](../admin/index.mdx).
- Learn more about [Medusas configurations](../../usage/configurations.md).
## See Also
- [Deploy the Medusa Admin](../admin/index.mdx)
- [Configure your Medusa server](../../usage/configurations.md)