Files
crawlab/gitbook/Usage/Spider/Deploy.md
Marvin Zhang 99ccee9d50 updated docs
2019-06-16 12:54:36 +08:00

11 lines
831 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 部署爬虫
这里的爬虫部署是指[自定义爬虫](/Usage/Spider/CustomizedSpider)的部署,因为[可配置爬虫](/Usage/Spider/ConfigurableSpider)已经内嵌到Crawlab中了所有节点都可以使用不需要额外部署。简单来说就是将主机上的爬虫源代码通过`HTTP`的方式打包传输至`worker`节点上,因此节点就可以运行传输过来的爬虫了。
部署爬虫很简单,有三种方式:
1.`爬虫列表`中点击`部署所有爬虫`,将所有爬虫部署到所有在线节点中;
2.`爬虫列表`中点击`操作`列的`部署`按钮,将指定爬虫部署到所有在线节点中;
3.`爬虫详情``概览`标签中,点击`部署`按钮,将指定爬虫部署到所有在线节点中。
部署好之后,我们就可以运行爬虫了。