You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
# activate virtualenv and execute passed in command line
|
|
|
|
COMMAND=$@
|
|
|
|
SITE_DIR="/var/www/pensfond"
|
|
|
|
source ${SITE_DIR}/ENV/bin/activate
|
|
cd ${SITE_DIR}
|
|
|
|
python manage.py ${COMMAND}
|
|
|