docs: add documentation for v1.8 (#3669)

This commit is contained in:
Shahed Nasser
2023-04-03 13:50:59 +02:00
committed by GitHub
parent 0cca13779d
commit c6bfad14d8
123 changed files with 7610 additions and 2697 deletions
@@ -29,9 +29,7 @@ By integrating SendGrid with Medusa, youll be sending email notifications to
## Prerequisites
Before going further with this guide make sure you have a Medusa backend set up. You can follow the [Quickstart guide](../../development/backend/install.mdx).
You also must have [Redis configured on your Medusa backend](../../development/backend/prepare-environment.mdx#redis). Sending emails is done through Subscribers, which uses Redis as the event queue. If you dont set up Redis, the plugin will not send emails.
Before going further with this guide make sure you have a Medusa backend set up. You can follow the [Quickstart guide](../../development/backend/install.mdx). The Medusa backend must also have an event bus module installed, which is available when using the default Medusa backend starter.
---
+1 -9
View File
@@ -32,15 +32,7 @@ To follow along with this guide, you need to have a Slack account with a connect
### Medusa Backend
This tutorial assumes you already have a Medusa backend installed. If you dont, please follow along with the [quickstart guide](../../development/backend/install.mdx).
### Redis
Medusa's event system works by pushing data into a queue that is based on [Redis](https://redis.io/). This queue then notifies handlers of different events of this data that is pushed into the queue. The handlers then use this data to perform a certain action.
As the Slack plugin will listen to the `order.placed` event to know when to send notifications, you'll need to have Redis installed and configured with your Medusa backend.
You can read the [Set up your development enviornment guideline](../../development/backend/prepare-environment.mdx#redis) to learn more about how you can install and setup Redis.
This tutorial assumes you already have a Medusa backend installed. If you dont, please follow along with the [quickstart guide](../../development/backend/install.mdx). The Medusa backend must also have an event bus module installed, which is available when using the default Medusa backend starter.
---
@@ -79,7 +79,7 @@ In this example, youll create a subscriber that listens to the `order.placed`
:::tip
For this example to work, youll need to install and configure Redis on your backend. You can refer to the [development guide](../../development/backend/prepare-environment.mdx#redis) to learn how to do that.
For this example to work, you'll need to have an event bus module installed and configured, which should be available by default.
:::