docs: added deploy to netlify buttons to Gatsby guides (#1810)

This commit is contained in:
Shahed Nasser
2022-07-06 17:38:51 +03:00
committed by GitHub
parent df2e7f1b37
commit 371682b4f7
2 changed files with 8 additions and 8 deletions

View File

@@ -2,9 +2,9 @@
In this document, youll 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:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa) -->
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa)
## Prerequisites

View File

@@ -4,6 +4,12 @@ This document guides you to install and set up the Gatsby Storefront for your Me
![Gatsby Storefront Quick Look](https://i.imgur.com/LcAsi8r.gif)
## 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:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa)
## Prerequisites
This document assumes you already have a Medusa server installed. If you dont, 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
```
<!-- ## 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:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa) -->
## Installation
1\. Create a new Gatsby project using the [Medusa starter template](https://github.com/medusajs/gatsby-starter-medusa):