Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (12 sloc) 242 Bytes
#!/usr/bin/env bash
source ./virtualenv/bin/activate
set -e
python -mofftrac.dumptrac
set +e
python dbmanage.py upgrade
set -e
if [ $? != 0 ]; then
python dbmanage.py version_control
python dbmanage.py upgrade
fi
python -mofftrac.etl