From 3d52fbbfe590dd2943494fac9041cd3bf05c9e94 Mon Sep 17 00:00:00 2001 From: John Wang Date: Tue, 23 Jan 2024 17:18:37 +0000 Subject: [PATCH] GITBOOK-45: No subject --- en/getting-started/install-self-hosted/local-source-code.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/getting-started/install-self-hosted/local-source-code.md b/en/getting-started/install-self-hosted/local-source-code.md index 115efa6..13f25e6 100644 --- a/en/getting-started/install-self-hosted/local-source-code.md +++ b/en/getting-started/install-self-hosted/local-source-code.md @@ -8,6 +8,8 @@ | Linux platforms |

Docker 19.03 or later
Docker Compose 1.25.1 or later

| Please refer to the [Docker installation guide](https://docs.docker.com/engine/install/) and [the Docker Compose installation guide](https://docs.docker.com/compose/install/) for more information on how to install Docker and Docker Compose, respectively. | | Windows with WSL 2 enabled |

Docker Desktop

| We recommend storing the source code and other data that is bound to Linux containers in the Linux file system rather than the Windows file system. For more information, please refer to the [Docker Desktop installation guide for using the WSL 2 backend on Windows.](https://docs.docker.com/desktop/windows/install/#wsl-2-backend) | +> If you need to use OpenAI TTS, `FFmpeg` must be installed on the system for it to function properly. For more details, refer to: [Link](https://docs.dify.ai/getting-started/install-self-hosted/install-faq#id-14.-what-to-do-if-this-error-occurs-in-text-to-speech). + ### Clone Dify ```Bash @@ -55,7 +57,7 @@ conda activate dify ``` cp .env.example .env ``` -3. Generate a random secret key and replace the value of SECRET_KEY in the .env file: +3. Generate a random secret key and replace the value of SECRET\_KEY in the .env file: ``` openssl rand -base64 42 @@ -71,8 +73,6 @@ conda activate dify
flask db upgrade
     
- - 6. Start the API server: ```