Merge pull request #150 from MITx/stable-edx4edx-aws

Stable edx4edx aws
This commit is contained in:
Calen Pennington
2012-06-28 05:39:42 -07:00
3 changed files with 1 additions and 7 deletions

View File

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

View File

@@ -8,7 +8,7 @@ COURSE_TITLE = "edx4edx: edX Author Course"
### Dark code. Should be enabled in local settings for devel.
ENABLE_MULTICOURSE = True # set to False to disable multicourse display (see lib.util.views.mitxhome)
QUICKEDIT = False
QUICKEDIT = True
###

View File

@@ -120,15 +120,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