Jelajahi Sumber

Corrected readme structure according to feedback

Sebastian M. Nicolajsen 4 tahun lalu
induk
melakukan
d80fbe992d
1 mengubah file dengan 17 tambahan dan 6 penghapusan
  1. 17 6
      README.md

+ 17 - 6
README.md

@@ -2,19 +2,30 @@
 
 This repo provides the skeleton to get you started with using Medusa. Follow the steps below to get ready.
 
+## Prerequisites
+- Have Postgresql installed and ensure it is running and initialized.
+    - `brew install postgresql`
+    - `brew services start postgresql`
+    - `createdb`
+
+- Install Redis and ensure that it is running.
+    - `brew install redis`
+    - `brew services start redis`
+
+- Have Yarn and related packages installed globally:
+    - Install yarn if needed `brew install yarn` 
+    - Install packages `yarn global add npm @babel/core`
+
+
+## Running Medusa
 - Copy the `.env.template` file to a `.env` file in the root directory
 - Setup a Stripe account and add your API key and webhook secret to your `.env`
 - Setup a Sendgrid account and add your API key to your `.env`
-- `yarn`
-- Make sure yarn has added npm and babel/core globally `yarn global add npm` and `yarn global add @babel/core`
-- Make sure redis and postgresql is running using `brew services start postgres` and `brew services start redis`
-- Make sure postgresql is running (and initialized) by using `createdb`
+- Install all dependencies `yarn`
 - Create a local postgres database using `psql -h localhost -c 'create database "medusa-development";'`
 - Migrate the database `medusa migrations run`
 - Run `medusa develop`
 
-
-
 Your local Medusa server is now running on port 9000. 
 
 Visit docs.medusa-commerce.com for further guides.