🧹 Update README for the newest changes + clean-up

pull/38/head
Gerber, Mike 4 years ago
parent 53d752f58d
commit 5bf350056f

@ -27,13 +27,25 @@ including all dependencies in Docker.
How to use How to use
---------- ----------
It's easiest to use it as pre-built containers. To run the containers on an **Currently, due to problems with the Travis CI, we do not provide pre-built
example workspace: 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 # Download an example workspace
cd /tmp cd /tmp
wget https://qurator-data.de/examples/actevedef_718448162.first-page.zip 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 # Run the workflow on it
cd actevedef_718448162.first-page cd actevedef_718448162.first-page
~/devel/ocrd-galley/run-docker-hub ~/devel/ocrd-galley/my_ocrd_workflow
~~~
### Build the containers yourself
To build the containers yourself using Docker:
~~~
cd ~/devel/ocrd-galley/
./build
~~~ ~~~
You may then use the script `run` to use your self-built containers, analogous to
the example above.
### Viewing results ### Viewing results
You may then examine the results using You may then examine the results using

@ -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
Loading…
Cancel
Save