mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
14 lines
226 B
Bash
Executable File
14 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
|
|
./wait-for-it/wait-for-it.sh db:5432 --strict --timeout=0
|
|
if [ $# -eq 0 ]
|
|
then
|
|
venv/bin/python -u opaque.py
|
|
elif [ $1 == "flask" ]
|
|
then
|
|
echo "$@"
|
|
venv/bin/python -m $@
|
|
else
|
|
echo "Unknown command"
|
|
fi
|