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
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
    echo "db_pyros 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...