Create command wrapper for manage.py
This commit is contained in:
parent
62086012a9
commit
d8810d5c43
9
bin/ojusomap
Executable file
9
bin/ojusomap
Executable file
@ -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 $@
|
Loading…
Reference in New Issue
Block a user