From c53427c04ba06e5eac61000235a5da4c6cdb5cb4 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Mon, 20 Apr 2020 13:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B7=BB=E5=8A=A0=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/en.js | 16 +--------------- frontend/src/i18n/zh.js | 16 +--------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/frontend/src/i18n/en.js b/frontend/src/i18n/en.js index 0ac1c460..5256140e 100644 --- a/frontend/src/i18n/en.js +++ b/frontend/src/i18n/en.js @@ -5,20 +5,6 @@ You cannot add nodes directly on the web interface in Crawlab. Adding a node is quite simple. The only thing you have to do is to run a Crawlab service on your target machine. -#### Docker Deployment -If you are running Crawlab using Docker, you can start a new \`worker\` container on the target machine, or add a \`worker\` service in the \`docker-compose.yml\`. - -\`\`\`bash -docker run -d --restart always --name crawlab_worker \\ - -e CRAWLAB_SERVER_MASTER=N \\ - -e CRAWLAB_MONGO_HOST=xxx.xxx.xxx.xxx \\ # make sure you are connecting to the same MongoDB - -e CRAWLAB_REDIS_ADDRESS=xxx.xxx.xxx.xxx \\ # make sure you are connecting to the same Redis - tikazyq/crawlab:latest -\`\`\` - -#### Direct Deploy -If you are deploying directly, the only thing you have to do is to run a backend service on the target machine, you can refer to [Direct Deploy](https://docs.crawlab.cn/Installation/Direct.html). - -For more information, please refer to the [Official Documentation](https://docs.crawlab.cn). +For details, please refer to the [Multi-Node Deployment Documentation](https://docs.crawlab.cn/Installation/MultiNode.html). ` } diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js index 81f12171..308d9974 100644 --- a/frontend/src/i18n/zh.js +++ b/frontend/src/i18n/zh.js @@ -545,21 +545,7 @@ export default { 添加节点的方式非常简单,您只需要在目标机器上运行一个 Crawlab 服务就可以了。 -#### Docker 部署 -如果您是用 Docker 启动 Crawlab,可以在目标机器上运行一个新的 \`worker\` 容器,或者在 \`docker-compose.yml\` 中添加 \`worker\` 服务。 - -\`\`\`bash -docker run -d --restart always --name crawlab_worker \\ - -e CRAWLAB_SERVER_MASTER=N \\ - -e CRAWLAB_MONGO_HOST=xxx.xxx.xxx.xxx \\ # 保证连接的是同一个 MongoDB - -e CRAWLAB_REDIS_ADDRESS=xxx.xxx.xxx.xxx \\ # 保证连接的是同一个 Redis - tikazyq/crawlab:latest -\`\`\` - -#### 直接部署 -如果您是用直接部署,只需要在目标机器上启动一个后端服务,请参考 [直接部署文档](https://docs.crawlab.cn/Installation/Direct.html)。 - -更多信息,请参考 [官方文档](https://docs.crawlab.cn)。 +具体操作,请参照 [多节点部署文档](https://docs.crawlab.cn/Installation/MultiNode.html)。 `, // 教程