Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

239
Visualizações
Fail to Deploy the Django App in the Heroku Cloud

I was trying to deploy a Django app in the Heroku following the official instruction. The project structure is as following,

enter image description here [3 enter image description here [2

It's good to mention that, I can run heroku locally from the src folder, heroku local web. Also the app create works fine, heroku create. While I tried to deploy the app using the command git push heroku master,

I get the error message in the terminal,

remote: -----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz buildpack
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !   Push rejected to sheltered-sea-46201.
remote: 
To https://git.heroku.com/sheltered-sea-46201.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/sheltered-sea-46201.git'

I see the similar question in the SOF, but, none of them seems any help. For example, I shifted the requirements.txt file inside the src folder suggested in an answer and pip freeze again which is ineffective. What should I need to do to resolve the issue?

NOTE:

As someone suggested to use heroku buildpacks:set heroku/python,I tried and get the message,

enter image description here

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda