Merge pull request #150 from MITx/stable-edx4edx-aws
Stable edx4edx aws
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
cd $(dirname $0) && django-admin.py collectstatic --noinput --settings=envs.aws --pythonpath=.
|
||||
@@ -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
|
||||
|
||||
###
|
||||
|
||||
|
||||
3
rakefile
3
rakefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user