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:
@@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
This document will guide you through setting up your Medusa server in a few minutes.
|
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:
|
|
||||||
|
|
||||||
[](https://heroku.com/deploy?template=https://github.com/medusajs/medusa-starter-default/tree/feat/deploy-heroku)
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Medusa supports Node versions 14 and 16. You can check which version of Node you have by running the following command:
|
Medusa supports Node versions 14 and 16. You can check which version of Node you have by running the following command:
|
||||||
|
|||||||
@@ -16,19 +16,19 @@ This document assumes you already have a Medusa server installed. If you don’t
|
|||||||
|
|
||||||
## Installation
|
## 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
|
```bash
|
||||||
npx create-next-app -e https://github.com/medusajs/nextjs-starter-medusa my-medusa-storefront
|
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
|
```bash
|
||||||
mv .env.template .env.local
|
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
|
```bash
|
||||||
npm run dev
|
npm run dev
|
||||||
|
|||||||
Reference in New Issue
Block a user