Blame view

docker/PYROS_DOCKER_RUN_WEBSERVER_ONLY 259 Bytes
a9d06e6f   Etienne Pallier   new PYROS_DOCKER_...
1
2
3
4
5
6
7
8
9
#!/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
docker exec -it pyros python3 pyros.py start webserver $@