Korrektur Script transform+export Kapitel 7.8

This commit is contained in:
Felix Lohmeier 2017-01-06 20:12:31 +01:00
parent 70a95a39e6
commit c83debbe82
1 changed files with 2 additions and 1 deletions

View File

@ -110,7 +110,8 @@ for projectid in "${projects[@]}" ; do
echo "Transformiere mit ${jsonfile}..."
sudo docker run --rm --link refine-server -v ${workdir}:/data felixlohmeier/openrefine:client-py -f ${jsonfile} ${projectid}
echo "Server neu starten..."
sudo docker stop refine-server && sudo docker rm refine-server
sudo docker stop refine-server
sudo docker rm refine-server
sudo docker run -d --name=refine-server -p ${port}:3333 -v ${workdir}:/data felixlohmeier/openrefine:2.6rc1 -i 0.0.0.0 -m ${ram} -d /data
until curl --silent http://localhost:${port} | cat | grep -q -o "OpenRefine" ; do sleep 3; done
done