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