docs: added missing sections (#2901)
* docs: added a link to the quickstart guide * docs: added env variables section
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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=<YOUR_DB_HOST>
|
||||
DB_USERNAME=<YOUR_DB_USERNAME>
|
||||
DB_PASSWORD=<YOUR_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:
|
||||
|
||||
Reference in New Issue
Block a user