Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ocrd network sample #449

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,18 @@ docker: DOCKER_MODULES ?= $(OCRD_MODULES)
docker: DOCKER_PARALLEL ?= -j1
docker: docker-latest

OCRD_NETWORK_CONFIG ?= run-network/odem-workflow-config.yaml
.PHONY: run-network
run-network:
@$(PYTHON) -m venv $(VIRTUAL_ENV)
@$(VIRTUAL_ENV)/bin/pip install click requests pyaml shapely==1.8.5 ocrd
@$(VIRTUAL_ENV)/bin/python run-network/creator.py create-docker $(OCRD_NETWORK_CONFIG)
@$(VIRTUAL_ENV)/bin/python run-network/creator.py create-env $(OCRD_NETWORK_CONFIG)
@$(VIRTUAL_ENV)/bin/python run-network/creator.py start $(OCRD_NETWORK_CONFIG)

@$(VIRTUAL_ENV)/bin/python run-network/creator.py create-clients $(VIRTUAL_ENV)/bin $(OCRD_NETWORK_CONFIG)
joschrew marked this conversation as resolved.
Show resolved Hide resolved


# do not search for implicit rules here:
Makefile: ;
local.mk: ;
Expand Down
3 changes: 3 additions & 0 deletions run-network/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker-compose.yaml
.env
clean.sh
Loading