Add a script to doing the collectstatic run during apt configuration

This commit is contained in:
Calen Pennington
2012-05-24 10:56:26 -04:00
parent 1e9e8847d3
commit 25e01799bb
2 changed files with 6 additions and 0 deletions

View File

@@ -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()