Stop collecting static files in production

Rationale: on Heroku, collecting too many static assets can lead to dyno bootstrap failure dur to a set timeout
This commit is contained in:
Nikita P. Shupeyko 2018-06-28 00:03:50 +03:00
parent 5df6083314
commit b78b588f5e

View File

@ -5,6 +5,4 @@ set -o nounset
python manage.py migrate python manage.py migrate
# TODO: runs so long that web dyno times out after 60 secs on Heroku
#python manage.py collectstatic --noinput
/usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app /usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app