mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 18:34:18 +00:00
14 lines
254 B
Bash
Executable File
14 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $# -eq 0 ]
|
|
then
|
|
venv/bin/python opaque.py
|
|
else
|
|
if [[ $1 == "--setup-database" ]]
|
|
then
|
|
venv/bin/python -m flask db init
|
|
venv/bin/python -m flask db upgrade
|
|
venv/bin/python -m flask insert-initial-database-entries
|
|
fi
|
|
fi
|