From 2002a7df311fd517696d4f1c277666c91add0ccf Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 20 Jun 2015 17:02:23 +0800 Subject: [PATCH] update --- scrapyd/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scrapyd/README.md b/scrapyd/README.md index 2616b18..e4e86fd 100644 --- a/scrapyd/README.md +++ b/scrapyd/README.md @@ -1,8 +1,13 @@ scrapyd ======= -Dockerfile for building an image that runs [scrapy][1] and [scrapyd][2]. +[Scrapy][1] is an open source and collaborative framework for extracting the +data you need from websites. In a fast, simple, yet extensible way. +[Scrapyd][2] is a service for running Scrapy spiders. It allows you to deploy +your Scrapy projects and control their spiders using a HTTP JSON API. + +This image is based on `debian:jessie` without any useless packages installed. Only two latest python packages are installed: - `scrapy`: git+https://github.com/scrapy/scrapy.git @@ -10,14 +15,14 @@ Only two latest python packages are installed: Please use this image as base for your own project. -## run as background-daemon for scrapyd +## Run it as background-daemon for scrapyd ``` $ docker run -d --restart always --name scrapyd -p 6800:6800 vimagick/scrapyd $ firefox http://localhost:6800 ``` -## run as interactive-shell for scrapy +## Run it as interactive-shell for scrapy ``` $ cat > stackoverflow_spider.py << _EOF_