From d87b3b34fb8a7b28761e2d90a32311b5bcdafbfb Mon Sep 17 00:00:00 2001 From: alesbe Date: Mon, 3 Oct 2022 16:34:27 +0200 Subject: [PATCH] docs: Removed heroku button from quickstart and fixed list index from Next.js documentation (#2333) * Removed heroku section from quickstart * Fixed list index order from nextjs docs --- docs/content/quickstart/quick-start.md | 4 ---- docs/content/starters/nextjs-medusa-starter.md | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/content/quickstart/quick-start.md b/docs/content/quickstart/quick-start.md index cac54cda7f..e62c5949b9 100644 --- a/docs/content/quickstart/quick-start.md +++ b/docs/content/quickstart/quick-start.md @@ -2,10 +2,6 @@ This document will guide you through setting up your Medusa server in a few minutes. -Alternatively, you can use this button to deploy the Medusa server to Heroku directly: - -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/medusajs/medusa-starter-default/tree/feat/deploy-heroku) - ## Prerequisites Medusa supports Node versions 14 and 16. You can check which version of Node you have by running the following command: diff --git a/docs/content/starters/nextjs-medusa-starter.md b/docs/content/starters/nextjs-medusa-starter.md index d572e9cad6..16b324d8fb 100644 --- a/docs/content/starters/nextjs-medusa-starter.md +++ b/docs/content/starters/nextjs-medusa-starter.md @@ -16,19 +16,19 @@ This document assumes you already have a Medusa server installed. If you don’t ## Installation -1. Create a new Next.js project using the [Medusa starter template](https://github.com/medusajs/nextjs-starter-medusa): +1\. Create a new Next.js project using the [Medusa starter template](https://github.com/medusajs/nextjs-starter-medusa): ```bash npx create-next-app -e https://github.com/medusajs/nextjs-starter-medusa my-medusa-storefront ``` -1. Change to the newly created directory `my-medusa-storefront` and rename the template environment variable file to use environment variables in development: +2\. Change to the newly created directory `my-medusa-storefront` and rename the template environment variable file to use environment variables in development: ```bash mv .env.template .env.local ``` -1. Make sure the Medusa server is running, then run the local Next.js server: +3\. Make sure the Medusa server is running, then run the local Next.js server: ```bash npm run dev