#!/bin/bash DIR="$( cd "$( dirname $( dirname "${BASH_SOURCE[0]}" ) )" && pwd )" PYTHONPATH=$PYTHONPATH:$DIR PYTHONPATH=$PYTHONPATH:"${DIR}/apps" PYTHONPATH=$PYTHONPATH:"${DIR}/apps/lib" PYTHONPATH=$PYTHONPATH:"${DIR}/venv/lib/python3.6/" export PYTHONPATH export DJANGO_SETTINGS_MODULE=config.settings ADMIN="${DIR}/venv/bin/django-admin.py" $ADMIN $@