Blame view

docker/PYROS_DOCKER_UPDATE 257 Bytes
e64cdd09   ALEXIS-PC\alexis   improving check a...
1
#!/usr/bin/env bash
e1e75163   Alexis Koralewski   fixing issue with...
2
3

# if no container is running
e64cdd09   ALEXIS-PC\alexis   improving check a...
4
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ]
e1e75163   Alexis Koralewski   fixing issue with...
5
then
da7c081d   Alexis Koralewski   remove extension ...
6
7
    echo "db_pyros or pyros weren't running, starting them..."
    ./PYROS_DOCKER_START.bat
e1e75163   Alexis Koralewski   fixing issue with...
8
fi
0977ece6   Alexis Koralewski   Adding git pull i...
9
git pull
e1e75163   Alexis Koralewski   fixing issue with...
10
docker exec -it pyros python3 pyros.py update