mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
14 lines
192 B
Bash
14 lines
192 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# If no argument is given, start Opaque
|
||
|
if [ $# -eq 0 ]
|
||
|
then
|
||
|
venv/bin/python opaque.py
|
||
|
else
|
||
|
if [[ $1 == "--create-db" ]]
|
||
|
then
|
||
|
flask db init
|
||
|
flask db upgrade
|
||
|
fi
|
||
|
fi
|