PYROS_DOCKER_UPDATE 257 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 #!/usr/bin/env bash # if no container is running if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ] then echo "db_pyros or pyros weren't running, starting them..." ./PYROS_DOCKER_START.bat fi git pull docker exec -it pyros python3 pyros.py update