docs: added missing sections (#2901)

* docs: added a link to the quickstart guide

* docs: added env variables section
This commit is contained in:
Shahed Nasser
2022-12-26 17:01:23 +02:00
committed by GitHub
parent 2916ff9861
commit 035790606e
2 changed files with 17 additions and 0 deletions
@@ -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 [Rediss 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).
+10
View File
@@ -59,6 +59,16 @@ medusa-dev --set-path-to-repo `pwd`
In this section, youll learn how to run tests in the Medusa repository. This is helpful after you customize any of Medusas 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: