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
This commit is contained in:
alesbe
2022-10-03 16:34:27 +02:00
committed by GitHub
parent 7182c4eb3b
commit d87b3b34fb
2 changed files with 3 additions and 7 deletions

View File

@@ -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:

View File

@@ -16,19 +16,19 @@ This document assumes you already have a Medusa server installed. If you dont
## 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