项目作者: mai1015

项目描述 :
Docker python with scrapy installed
高级语言: Python
项目地址: git://github.com/mai1015/docker_python_scrapy.git
创建时间: 2018-04-12T19:45:53Z
项目社区:https://github.com/mai1015/docker_python_scrapy

开源协议:GNU General Public License v3.0

下载


docker_python_scrapy

Build Status
FOSSA Status

Docker python with scrapy installed

Pre-configurate python environment in docker

Installed

  • nodemon help debug faster
  • redis for store data
  • required lib to build scrapy

Getting start

You get running scrapy out of the box.

If just getting started, you can create project with this.

  1. docker run --mount type=bind,src="/path/to/code",target="/app" -t mai1015/python_scrapy:latest scrapy startproject web

If you got your code ready, you can go ahead

  1. docker run --mount type=bind,src="/path/to/code",target="/app" mai1015/python_scrapy:latest

It will run app.py with nodemon which will restart when detecting changes on files

License

FOSSA Status