diff --git a/docs/content/tutorial/0-set-up-your-development-environment.mdx b/docs/content/tutorial/0-set-up-your-development-environment.mdx index c6847bed28..0ef044ca8f 100644 --- a/docs/content/tutorial/0-set-up-your-development-environment.mdx +++ b/docs/content/tutorial/0-set-up-your-development-environment.mdx @@ -141,6 +141,12 @@ If you run into any errors while installing the CLI tool, check out the [trouble --- +## Install Medusa Server + +If you're not interested in installing the optional tools and want to get started quickly, check out the [quickstart guide](../quickstart/quick-start.mdx). + +--- + ## Optional Tools These tools are not required to have to run a Medusa server, but it's highly recommended that you have them installed. @@ -274,6 +280,7 @@ To install Redis without Homebrew you can check out [Redis’s guide on installi ## See Also +- [Install Medusa server](../quickstart/quick-start.mdx) - [Configure your Medusa server](../usage/configurations.md). - Install a storefront with [Next.js](../starters/nextjs-medusa-starter.mdx) or [Gatsby](./../starters/gatsby-medusa-starter.mdx). - [Install the Medusa Admin](../admin/quickstart.mdx). diff --git a/docs/content/usage/local-development.md b/docs/content/usage/local-development.md index 373c35f84f..f3519c6ba9 100644 --- a/docs/content/usage/local-development.md +++ b/docs/content/usage/local-development.md @@ -59,6 +59,16 @@ medusa-dev --set-path-to-repo `pwd` In this section, you’ll learn how to run tests in the Medusa repository. This is helpful after you customize any of Medusa’s packages and want to make sure everything is still working as expected. +### Set System Environment Variables + +Before you can run the tests, make sure you set the following system environment variables: + +```bash +DB_HOST= +DB_USERNAME= +DB_PASSWORD= +``` + ### Run Unit Tests To run unit tests in all packages in the Medusa repository, run the following command in the root directory of the repository: