First version
[fnpdeploy.git] / deploy_setup / templates / manage.py
1 #!/bin/bash
2 # Simple wrapper for running current manage.py with the right Python.
3 HERE="$( dirname "${BASH_SOURCE[0]}" )"
4 source "$HERE/etc/deployment.cfg"
5 VE="$(cd "$HERE"; realpath "$VIRTUALENV_PATH")"
6 exec $VE/bin/python $HERE/releases/current/src/manage.py "$@"