App not compatible with buildpack (Heroku)

Asked

Viewed 806 times

0

I have made other Deploys in Heroku with DJANGO, but this is the first one that I used images and css. From what I’m noticing the site does not accept images anyway, I do not know exactly what is happening, I reviewed the settings and it is to be all right. Follow the error log:

> root@Major:/home/gato_preto/Documentos/Curso de
> DJANGO/site_vane/site_vane# git push heroku master --force Counting
> objects: 82, done. Delta compression using up to 6 threads.
> Compressing objects: 100% (74/74), done. Writing objects: 100%
> (82/82), 1.33 MiB | 1.06 MiB/s, done. Total 82 (delta 26), reused 0
> (delta 0) remote: Compressing source files... done. remote: Building
> source: remote:  remote: -----> App not compatible with buildpack:
> https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
> remote:        More info:
> https://devcenter.heroku.com/articles/buildpacks#detection-failure
> remote:  remote:  !     Push failed remote: Verifying deploy...
> remote:  remote: !       Push rejected to site-vane. remote:  To
> https://git.heroku.com/site-vane.git  ! [remote rejected] master ->
> master (pre-receive hook declined) error: failed to push some refs to
> 'https://git.heroku.com/site-vane.git'

2 answers

0

You have declared the Runtime and the 'machine' requested correctly?
In accordance with the documentation Buildpack has to do with the instance you are asking Heroku to create, in case he may not be identifying that you want a Python Buildpack.

Buildpack Python

  • Enderson, your comment sounds pretty blunt. But don’t you think he would look better in the comments area? Doesn’t seem like a definitive answer to being here

0

To upload an application in Django it is nice to use the https://www.pythonanywhere.com/. It already has some settings and interface to move up your application. Take a look and see if it solves your problem =)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.