From b05e9d2ab4a871acea01a38cca2b2d3f7b40e988 Mon Sep 17 00:00:00 2001 From: Riddhimaan-Senapati <114703025+Riddhimaan-Senapati@users.noreply.github.com> Date: Sat, 8 Feb 2025 07:36:33 -0500 Subject: [PATCH] feat: update backend documentation (#13374) --- api/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/README.md b/api/README.md index 6e9f2e8fbb..c3abc25be1 100644 --- a/api/README.md +++ b/api/README.md @@ -37,7 +37,13 @@ 4. Create environment. - Dify API service uses [Poetry](https://python-poetry.org/docs/) to manage dependencies. You can execute `poetry shell` to activate the environment. + Dify API service uses [Poetry](https://python-poetry.org/docs/) to manage dependencies. First, you need to add the poetry shell plugin, if you don't have it already, in order to run in a virtual environment. [Note: Poetry shell is no longer a native command so you need to install the poetry plugin beforehand] + + ```bash + poetry self add poetry-plugin-shell + ``` + + Then, You can execute `poetry shell` to activate the environment. 5. Install dependencies