collectstatic command

This commit is contained in:
Kenneth Reitz
2012-05-15 15:00:56 -07:00
parent 133c308796
commit 0e1ae7a798
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Compile assets.
echo "-----> Collecting static files"
python $PROJECT/manage.py collectstatic --noinput | indent
[ $? -ne 0 ] && {
echo " ! Error running manage.py collectstatic. More info:"
echo " ! http://devcenter.heroku.com/articles/django-assets"
}
set -e