10 lines
250 B
Plaintext
10 lines
250 B
Plaintext
|
#!/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 $@
|