docs: added deploy to netlify buttons to Gatsby guides (#1810)
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
In this document, you’ll learn how to deploy the Gatsby Storefront on [Netlify](https://www.netlify.com/).
|
In this document, you’ll learn how to deploy the Gatsby Storefront on [Netlify](https://www.netlify.com/).
|
||||||
|
|
||||||
<!-- Alternatively, you can use this button to deploy the Gatsby Storefront to Netlify directly:
|
Alternatively, you can use this button to deploy the Gatsby Storefront to Netlify directly:
|
||||||
|
|
||||||
[](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa) -->
|
[](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa)
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ This document guides you to install and set up the Gatsby Storefront for your Me
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Instant Deployment to Netlify
|
||||||
|
|
||||||
|
Instead of manually following this guide to install then later deploy the Gatsby Storefront, you can deploy the Gatsby Storefront to Netlify with this button:
|
||||||
|
|
||||||
|
[](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa)
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
This document assumes you already have a Medusa server installed. If you don’t, please follow the [Quickstart guide for the Medusa server](../quickstart/quick-start.md) to learn how to do it.
|
This document assumes you already have a Medusa server installed. If you don’t, please follow the [Quickstart guide for the Medusa server](../quickstart/quick-start.md) to learn how to do it.
|
||||||
@@ -14,12 +20,6 @@ You should also have the Gatsby CLI installed:
|
|||||||
npm install gatsby-cli -g
|
npm install gatsby-cli -g
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- ## Instant Deployment to Netlify
|
|
||||||
|
|
||||||
Instead of manually following this guide to install then later deploy the Gatsby Storefront, you can deploy the Gatsby Storefront to Netlify with this button:
|
|
||||||
|
|
||||||
[](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa) -->
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1\. Create a new Gatsby project using the [Medusa starter template](https://github.com/medusajs/gatsby-starter-medusa):
|
1\. Create a new Gatsby project using the [Medusa starter template](https://github.com/medusajs/gatsby-starter-medusa):
|
||||||
|
|||||||
Reference in New Issue
Block a user