我正在学习python并构建一个简单的网站。当我尝试推送git时,在托管在heroku上时出现错误。
这是错误:
[Total 0 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! No default language could be detected for this app.
remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote: See https://devcenter.heroku.com/articles/buildpacks
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to ashvani.
remote:
To https://git.heroku.com/ashvani.git
! \[remote rejected\] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/ashvani.git'][1]
这是项目结构: