From 5bf350056fbde71ffa790f523761dff80b1f8cea Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 9 Dec 2020 12:50:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Update=20README=20for=20the=20ne?= =?UTF-8?q?west=20changes=20+=20clean-up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 31 +++++++++++++++++-------------- run-docker-hub-update | 11 ----------- 2 files changed, 17 insertions(+), 25 deletions(-) delete mode 100755 run-docker-hub-update diff --git a/README.md b/README.md index 27e4cb9..c1c8c83 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,25 @@ including all dependencies in Docker. How to use ---------- -It's easiest to use it as pre-built containers. To run the containers on an -example workspace: +**Currently, due to problems with the Travis CI, we do not provide pre-built +containers anymore.*** +To build the containers yourself using Docker: +~~~ +cd ~/devel/ocrd-galley/ +./build ~~~ -# Update to the latest stable containers -(cd ~/devel/ocrd-galley/; ./run-docker-hub-update) +You can then install the wrappers into a Python venv: +~~~ +cd ~/devel/ocrd-galley/wrapper +pip install . +~~~ + +You may then use the script `my_ocrd_workflow` to use your self-built +containers on an example workspace: + +~~~ # Download an example workspace cd /tmp wget https://qurator-data.de/examples/actevedef_718448162.first-page.zip @@ -41,17 +53,8 @@ unzip actevedef_718448162.first-page.zip # Run the workflow on it cd actevedef_718448162.first-page -~/devel/ocrd-galley/run-docker-hub -~~~ - -### Build the containers yourself -To build the containers yourself using Docker: -~~~ -cd ~/devel/ocrd-galley/ -./build +~/devel/ocrd-galley/my_ocrd_workflow ~~~ -You may then use the script `run` to use your self-built containers, analogous to -the example above. ### Viewing results You may then examine the results using diff --git a/run-docker-hub-update b/run-docker-hub-update deleted file mode 100755 index cc6c860..0000000 --- a/run-docker-hub-update +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Update the my_ocrd_workflow containers - -DOCKER_IMAGE_PREFIX=mikegerber/my_ocrd_workflow -DOCKER_IMAGE_TAG=stable - - -sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'` -for x in $sub_images; do - docker pull $DOCKER_IMAGE_PREFIX-$x:$DOCKER_IMAGE_TAG -done