docker build -t srw-generate-data-assets -f docker\generate-data-assets.Dockerfile .
docker run --rm -v %cd%\data\electoral-period-7:/app/electoral-period:ro -v %cd%\src\assets\electoral-period-7:/app/generated -v %cd%\data\Magdeburg.json:/app/Magdeburg.json:ro srw-generate-data-assets
docker build -t srw-generate-paper-assets -f docker\generate-paper-assets.Dockerfile .
docker run --rm -v %cd%\data\Magdeburg.json:/app/Magdeburg.json:ro -v %cd%\output\papers:./app/papers:ro -v %cd%\src\assets\papers:/app/generated srw-generate-paper-assets
docker build -t srw-generate-routes-file -f docker\generate-routes-file.Dockerfile .
docker run --rm -v %cd%\data:/app/data:ro -v %cd%:/app/generated srw-generate-routes-file
docker build -t srw-download-paper-files -f docker\download-paper-files.Dockerfile .
docker run --rm -v %cd%\output\papers:/app/output/papers -v %cd%\data\Magdeburg.json:/app/Magdeburg.json:ro srw-download-paper-files 2024
docker build -t srw-tika -f docker\tika-batch-extract.Dockerfile .
When running the container, the input and output folders have to be provided as volume mounts. The input folder should contain the pdf files to be processed. The output folder will contain the extracted text files.
docker run --rm -v %cd%\output\papers\2023:/input -v %cd%\output\papers\2023-extracted:/output srw-tika
docker build -t srw-stadtratwatch-web -f docker\stadtrat-watch-web.Dockerfile .
docker run --rm -p 8080:80 srw-stadtratwatch-web