I\'m trying to deploy a Django app to Heroku, it starts to build, download and installs everything, but that\'s what I get when it comes to collecting static files
This worked for me:
step 1 - heroku config:set DISABLE_COLLECTSTATIC=1
step 2 - git push heroku master
It seems to me that it's having problems creating that blogproject/static
folder. I see you have a static folder inside your blog app, but it should be up one level in your blogproject folder.
Try creating a static
folder inside your blogproject
folder and that error should go away.
I just updated to Django 1.10 today and had the exact same problem. Your static settings are identical to mine as well.
This worked for me, run the following commands:
disable the collectstatic during a deploy
heroku config:set DISABLE_COLLECTSTATIC=1
deploy
git push heroku master
run migrations (django 1.10 added at least one)
heroku run python manage.py migrate
run collectstatic using bower
heroku run 'bower install --config.interactive=false;grunt prep;python manage.py collectstatic --noinput'
enable collecstatic for future deploys
heroku config:unset DISABLE_COLLECTSTATIC
try it on your own (optional)
heroku run python manage.py collectstatic
future deploys should work as normal from now on
I face same problem..
Follow this step
DISABLE_COLLECTSTATIC=1
git push heroku master
python manage.py collectstatic
python manage.py test
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
.heroku run python manage.py collectstatic
.heroku run python manage.py migrate
heroku config:unset DISABLE_COLLECTSTATIC
(for future use).