Add target to create spider jobs

pull/58/head
Marian Steinbach 4 years ago
parent 0d9b44b384
commit 2472af988d
  1. 9
      Makefile

@ -7,6 +7,15 @@ dockerimage:
docker pull debian:stretch-slim
docker build -t spider .
# Create spider job queue
spiderjobs: dockerimage
docker run --rm -ti \
-v $(PWD)/secrets:/secrets \
spider spider.py \
--credentials-path /secrets/datastore-writer.json \
--loglevel debug \
jobs
# Run spider in docker image
spider: dockerimage
docker run --rm -ti \

Loading…
Cancel
Save