Adding instruction for running redis (#7434)

fixes #7433

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
Guillim 2024-10-04 19:08:08 +02:00 committed by GitHub
parent ae2bd66f45
commit 744304e859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,6 +185,24 @@ yarn
## Step 7: Running the project
Start your redis server:
<ArticleTabs label1="Linux" label2="Mac OS" label3="Windows (WSL)">
<ArticleTab>
Depending on your Linux distribution, Redis server might be started automatically.
If not, check the [Redis installation guide](https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/) for your distro.
</ArticleTab>
<ArticleTab>
```bash
brew services start redis
```
</ArticleTab>
<ArticleTab>
Depending on your Linux distribution, Redis server might be started automatically.
If not, check the [Redis installation guide](https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/) for your distro.
</ArticleTab>
</ArticleTabs>
Setup your database with the following command:
```bash
npx nx database:reset twenty-server