collect static resources is now handled by the gunicorn upstart script

This commit is contained in:
John Jarvis
2012-06-27 13:12:55 -04:00
parent c5630e6d9f
commit 59d0c408f0
2 changed files with 0 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
#! /bin/bash
cd $(dirname $0) && django-admin.py collectstatic --noinput --settings=envs.aws --pythonpath=.

View File

@@ -115,15 +115,12 @@ task :package do
set -x
chown -R makeitso:makeitso #{INSTALL_DIR_PATH}
chmod +x #{INSTALL_DIR_PATH}/collect_static_resources
service gunicorn stop || echo "Unable to stop gunicorn. Continuing"
rm -f #{LINK_PATH}
ln -s #{INSTALL_DIR_PATH} #{LINK_PATH}
chown makeitso:makeitso #{LINK_PATH}
/opt/wwc/mitx/collect_static_resources
# Delete mako temp files
rm -rf /tmp/tmp*mako