mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
14 lines
306 B
Bash
Executable File
14 lines
306 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set +e
|
|
|
|
# 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 |