From 686b92a06db6a212d6a26fc919cf5c8593270492 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 28 May 2015 09:29:27 +0800 Subject: [PATCH] update --- scrapy/Dockerfile | 1 + scrapy/README.md | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/scrapy/Dockerfile b/scrapy/Dockerfile index 06b7dac..e8dc8ba 100644 --- a/scrapy/Dockerfile +++ b/scrapy/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get update \ python-dev \ && curl -sSL https://bootstrap.pypa.io/get-pip.py | python \ && pip install scrapy==1.0.0rc1 \ + && curl -sSL https://github.com/scrapy/scrapy/raw/master/extras/scrapy_bash_completion -o /etc/bash_completion.d/scrapy_bash_completion \ && apt-get remove -y build-essential \ libffi-dev \ libssl-dev \ diff --git a/scrapy/README.md b/scrapy/README.md index d52dc8a..43c7615 100644 --- a/scrapy/README.md +++ b/scrapy/README.md @@ -1,6 +1,19 @@ -`Scrapy`: An open source and collaborative framework -for extracting the data you need from websites. -In a fast, simple, yet extensible way. +## WHAT-IS + +`Scrapy`: An open source and collaborative framework for extracting the data +you need from websites. In a fast, simple, yet extensible way. You can create a scrapy (v1.0.0rc1) project on top of this image. +## HOW-TO + +``` +docker run --name scrapy -it vimagick/scrapy +``` + +## TODO-LIST + +- build [libxml2][1]/[libxslt][2] from source + +[1]: http://www.xmlsoft.org/downloads.html +[2]: http://git.gnome.org/browse/libxslt/