diff --git a/bin/ojusomap b/bin/ojusomap new file mode 100755 index 0000000..8c772f8 --- /dev/null +++ b/bin/ojusomap @@ -0,0 +1,9 @@ +#!/bin/bash +# A wrapper around manage.py for ojusomap +# that automatically activates venv + +THISDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) +VENV=${THISDIR}/../.venv +PYTHON=$VENV/bin/python +MANAGEPY=$THISDIR/../manage.py +$PYTHON $MANAGEPY $@