-1

When i try to add my github repo Gitlink i get this error

 !     No default language could be detected for this app.
        HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
        See https://devcenter.heroku.com/articles/buildpacks
 !     Push failed

What is wrong???

  • Does this answer your question? [Heroku: No default language could be detected for this app for python even with runtime.txt](https://stackoverflow.com/questions/44232967/heroku-no-default-language-could-be-detected-for-this-app-for-python-even-with) – user202729 Aug 19 '21 at 01:36

1 Answers1

1

Heroku knows that your app is a Python app by the existence of one of two files in the root of your application:

  • PipFile
  • requirements.txt

You should set up a requirements.txt or Pipfile in order to get your project work on Heroku. In addition, you will need Postgres as your deployment DB, if you need a db at all.

You can have a look for more at the docs or the getting started guide

Community
  • 1
  • 1
dstrants
  • 7,423
  • 2
  • 19
  • 27