Skip to content

Commit 57a9bdc

Browse files
authored
Docs: optimize migration v1 content (#623)
1 parent b3737e3 commit 57a9bdc

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

en/development/migration/migrate-to-v1.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,21 @@ Ensure your network can access the public internet and support access to: `https
7474
poetry run flask install-plugins --workers=2
7575
```
7676

77-
This command will download and install all necessary plugins into the latest Community Edition. When the terminal shows `Install plugins completed.`, the migration is complete.
77+
This command will download and install all necessary plugins into the latest Community Edition.
7878

79-
Finally, migrate the plugin data. This command will update the `provider name` by appending it with `langgenius/{provider_name}/{provider_name}`.
79+
Finally, migrate the plugin data. Run the following command to update the `provider name` by appending `langgenius/{provider_name}/{provider_name}` to it.
8080

8181
```bash
8282
poetry run flask migrate-data-for-plugin
8383
```
8484

85+
The migration is complete when you see the results in your terminal.
86+
87+
```bash
88+
Migrate [tool_builtin_providers] data for plugin completed, total: 6
89+
Migrate data for plugin completed.
90+
```
91+
8592
## Verify the Migration
8693

8794
Access the Dify platform and click the **“Plugins”** button in the upper-right corner to check if the previously used tools have been correctly installed. Randomly use one of the plugins to verify if it works properly. If the plugins work well, the version upgrade and data migration have been successfully completed.

jp/development/migration/migrate-to-v1.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,21 @@ poetry run flask extract-plugins --workers=20
7474
poetry run flask install-plugins --workers=2
7575
```
7676

77-
このコマンドは、最新のコミュニティ版に必要なすべてのプラグインをダウンロードしてインストールします。ターミナルに `Install plugins completed.` と表示されたら、移行は完了です。
77+
このコマンドは、最新のコミュニティ版に必要なすべてのプラグインをダウンロードしてインストールします。
7878

7979
最後に、プラグインのデータを移行します。このコマンドは `provider name` を更新し、`langgenius/{provider_name}/{provider_name}` を追加します
8080

8181
```bash
8282
poetry run flask migrate-data-for-plugin
8383
```
8484

85+
ターミナルに結果が表示されたら、マイグレーションは完了です。
86+
87+
```bash
88+
Migrate [tool_builtin_providers] data for plugin completed, total: 6
89+
Migrate data for plugin completed.
90+
```
91+
8592
## 移行結果の検証
8693

8794
Dify プラットフォームにアクセスし、右上の「プラグイン」ボタンをクリックして、以前使用していたツールが正しくインストールされているか確認します。ランダムにプラグインを使用して、正常に動作するかを検証します。問題がなければ、バージョンアップとデータ移行が完了したことを示しています。

zh_CN/development/migration/migrate-to-v1.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,21 @@ poetry run flask extract-plugins --workers=20
7474
poetry run flask install-plugins --workers=2
7575
```
7676

77-
此命令将下载并安装所有必要的插件到最新的社区版本中。当终端出现 `Install plugins completed.` 标识时,迁移完成。
77+
此命令将下载并安装所有必要的插件到最新的社区版本中。
7878

79-
最後,遷移插件數據。此命令將更新 `provider name`並在其後附加 `langgenius/{provider_name}/{provider_name}`
79+
最后迁移插件数据。运行以下命令更新 `provider name`并在其后附加 `langgenius/{provider_name}/{provider_name}`
8080

8181
```bash
8282
poetry run flask migrate-data-for-plugin
8383
```
8484

85+
当终端出现以下标识时,迁移完成。
86+
87+
```bash
88+
Migrate [tool_builtin_providers] data for plugin completed, total: 6
89+
Migrate data for plugin completed.
90+
```
91+
8592
## 验证结果
8693

8794
访问 Dify 平台,轻点右上角 **“插件”** 查看此前所使用的工具是否被正确安装。随机使用某个插件,验证是否能够正常运行。如果无误,说明你已完成版本升级和数据迁移。

0 commit comments

Comments
 (0)