Commit 25e01799 by Calen Pennington

Add a script to doing the collectstatic run during apt configuration

parent 1e9e8847
#! /bin/bash
cd $(basedir $0) && django-admin.py collectstatic --noinput --settings=envs.aws --pythonpath=.
......@@ -83,6 +83,9 @@ task :package do
rm -f #{LINK_PATH}
ln -s #{INSTALL_DIR_PATH} #{LINK_PATH}
chown makeitso:makeitso #{LINK_PATH}
/opt/wwc/mitx/collect_static_resources
service gunicorn start
POSTINSTALL
postinstall.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment