Bez popisu

Sebastian Rindom b61a95d6b8 docs: cleanup před 4 roky
data 73110d6b82 fix: add seed file před 4 roky
src aa863eca47 add custom directories před 4 roky
.babelrc.js 0ce2889584 fix: package.json před 4 roky
.env.template 7a526a971d removed unwanted files před 4 roky
.gitignore 7a526a971d removed unwanted files před 4 roky
README.md b61a95d6b8 docs: cleanup před 4 roky
medusa-config.js aa863eca47 add custom directories před 4 roky
package.json 619d981bd0 feat: adds seed data před 4 roky
yarn.lock 619d981bd0 feat: adds seed data před 4 roky

README.md

Medusa Starter Default

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

  • Rename .env.template to .env: $ mv .env.template .env
  • 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
  • Install all dependencies $ yarn
  • Create a local postgres database using $ psql -h localhost -c 'create database "medusa-development";'
  • Migrate and seed the database $ yarn seed
  • Run $ medusa develop

Your local Medusa server is now running on port 9000.

Visit docs.medusa-commerce.com for further guides.