get python 3 and virtualenv
virtualenv venv --no-site-packages --python python3
source vev/bin/activate
pip install -r requirements.txt
python main.py
docker build -f docker/Dockerfile -t news-parser-ro:<tag> .
docker tag news-parser-ro:<tag> my_prefix/news-parser-ro:<tag>
docker push my_prefix/news-parser-ro:<tag>
docker stack deploy -c docker/stack.yml crawl
- use
scrapyd
to deploy - have a look at deduplication and what it entices in case of service failure
- figure out why ES doesn't play nicely inside docker