blob: b7dce6bdf11874bc70d091119a1ea26b95fb742e (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
DIR="$( cd "$( dirname $( dirname "${BASH_SOURCE[0]}" ) )" && pwd )"
PYTHONPATH=$PYTHONPATH:$DIR
PYTHONPATH=$PYTHONPATH:"${DIR}/app"
PYTHONPATH=$PYTHONPATH:"${DIR}/app/lib"
PYTHONPATH=$PYTHONPATH:"${DIR}/venv/lib/python3.4/"
export PYTHONPATH
export DJANGO_SETTINGS_MODULE=config.settings
ADMIN="${DIR}/venv/bin/django-admin.py"
$ADMIN $@
|