From: Zachary Vance Date: Sat, 28 Aug 2021 03:28:15 +0000 (-0700) Subject: docs X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=c8d29181929fbd99753b927e4101353310cb736a;p=mqlg.git docs --- diff --git a/README b/README index 013501b..e02c734 100644 --- a/README +++ b/README @@ -1,15 +1,18 @@ -Requirements on debian: +extract plaintext from scihub zip files, and send it back to my server - apt-get install python3 python3-pika python3-tqdm poppler-utils +Requirements: +- python3 +- python3: pika 0.11 (NOT newer) +- python3: poppler-utils +- on debian: apt-get install python3 python3-pika poppler-utils To run on your machine: - ./main.py sm worker + TMPDIR=/ssd/2/tmp ./main.py sm worker # TMPDIR defaults to /tmp To run in a docker container: - 1. Edit run-docker.sh. Set a bandwidth limit and working directory - 2. sudo run-docker.sh + sudo WORKDIR=/ssd/2/tmp BWLIMIT=150mbit ./run-docker.sh # Set a bandwidth limit and working directory. WORKDIR defaults to /tmp on host Notes: diff --git a/run-docker.sh b/run-docker.sh index ddcb944..d52d67f 100755 --- a/run-docker.sh +++ b/run-docker.sh @@ -12,6 +12,7 @@ BWLIMIT=${BWLIMIT:-150mbit} docker rm mqlg || true docker build -t mqlg:latest . docker run \ + --rm \ --restart=no \ --detach \ --name=mqlg \