From 4843c7631bf6b218bd9005f5eda2c18686e37213 Mon Sep 17 00:00:00 2001 From: tenngoxars Date: Tue, 6 Apr 2021 17:33:46 +0800 Subject: [PATCH] update readme --- README.md | 8 ++++++-- README.zh-CN.md | 7 ++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 27853bd..096b1fb 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,8 @@ git.password = **Index repository from file** +Kooder currently supports repository indexing for the same hosting platform. If you need to index multiple hosting platforms, you can do a split import. + Config `kooder.properties` : ```java @@ -151,12 +153,14 @@ Config `kooder.properties` : http.startup.tasks = indexer,file //Add file field -file.index.path = C:/Documents/Kooder/file.txt //Config file path of file.txt +file.index.path = C:/Documents/Kooder/file.txt //Config file path of file.txt + +file.index.vender = gitee //Specify the corresponding code hosting platform ``` Content of file.txt ``` -// Add repositories URL +// Add the repository URL of the hosting platform specified in the configuration http://gitee.com/koode/kooder.git https://gitee.com/ld/J2Cache.git ... diff --git a/README.zh-CN.md b/README.zh-CN.md index c65c2d2..718de99 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -190,6 +190,8 @@ git.password = ### 从文件索引仓库 +Kooder 目前支持同一托管平台的仓库索引,如需索引多个托管平台,进行分次导入即可。 + 在 `kooder.properties` 配置文件中进行如下设置: ```java //开启 Kooder 从文件索引仓库的特性 @@ -197,10 +199,13 @@ git.password = https.startup.tasks = indexer,file //增加 file 字段 file.index.path = C:/Documents/Kooder/file.txt //配置 file.index.path 文件路径(file.txt 为本地文件,路径可自行配置) + +file.index.vender = gitee //指定对应的代码托管平台(必须) + ``` file.txt 内容 ``` -//添加仓库地址 +//添加配置中指定的托管平台仓库地址 https://gitee.com/koode/kooder.git https://gitee.com/ld/J2Cache.git ... -- Gitee