Blame view

docker/PYROS_DOCKER_TEST 249 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
e1d22a59   Alexis Koralewski   Change redis cont...
4
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
e1e75163   Alexis Koralewski   fixing issue with...
5
then
ec4214ff   Alexis Koralewski   Renaming pyros co...
6
    echo "pyros-db or pyros weren't running, starting them..."
e1e75163   Alexis Koralewski   fixing issue with...
7
8
    ./PYROS_DOCKER_START.bat
fi
3e125e8f   Alexis Koralewski   Add webport perso...
9
docker exec -it pyros python3 pyros.py test $@
e1e75163   Alexis Koralewski   fixing issue with...