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

This commit is contained in:
Shahed Nasser authored and GitHub committed 2022-12-26 15:52:08 +02:00
1 parent b0e5769e27
commit b0ebfd6bcf
100 files changed
+1047 -291

No files matched your search

@@ -35,6 +35,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 Medusa Admin you need to create a GitHub repository and push the code base to it.
@@ -74,6 +76,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.
@@ -236,7 +240,6 @@ For the rest of the steps, you can keep most of the default values provided by N
? Directory to deploy (blank for current dir): public
```
#### Set Environment Variables
After the previous command has finished running, your Netlify website will be created. The next step is to add an environment variable that points to your Medusa server.
@@ -285,6 +288,8 @@ The Medusa Admin will then open in your browser.
Before you can use Medusa Admin, 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 Medusa Admin, you must set the `ADMIN_CORS` environment variable on your server to the Medusa Admin’s URL.
@@ -305,7 +310,9 @@ Where `<ADMIN_URL>` is the URL of your Medusa Admin that you just deployed.
Then, restart your Medusa server. Once the server is running again, you can log in to the Medusa Admin and use it.
## What’s Next
---
- Learn how to [deploy your storefront](../storefront/index.mdx).
- Learn more about [how you can configure Medusa](../../usage/configurations.md).
## See Also
- [Deploy your storefront](../storefront/index.mdx)
- [Configure your Medusa server](../../usage/configurations.md)