Skip to content

How to configure the development environment #1339

Answered by srindom
denerFernandes asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

Welcome happy you like what you have seen so far - would love to help you get started :)

First read through the contribution guide here: https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md that covers the basics.

When you have the Medusa monorepo cloned and a test project initialized with medusa new you should do the following:

Install medusa-dev-cli:

yarn add medusa-dev-cli
medusa-dev -p [the path to the root of your monorepo]

In the monorepo

Build your packages

yarn build

In your test project

Copy over all the build files to your local project

medusa-dev

What happens now is that instead of pulling files from the npm registry medusa-dev will pull files from your local …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@gaurav1999
Comment options

@gaurav1999
Comment options

@bytrangle
Comment options

@bytrangle
Comment options

Answer selected by srindom
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants