From 0e1ae7a798f196ade03cd113ede8e85ff3b1f037 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Tue, 15 May 2012 15:00:56 -0700
Subject: [PATCH] collectstatic command

---
 bin/steps/django/collectstatic | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/bin/steps/django/collectstatic b/bin/steps/django/collectstatic
index e69de29b..28ff995e 100755
--- a/bin/steps/django/collectstatic
+++ b/bin/steps/django/collectstatic
@@ -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
\ No newline at end of file
-- 
GitLab