I was trying to use heroku through powershell I opened in the directory of the python file, ran git push heroku master after using git init, add.,commit,remote and all the procedure before. I added requirments,runtime and procfile, getting this error:
Enumerating objects: 16, done. Counting objects: 100% (16/16), done. Delta compression using up to 4 threads Compressing objects: 100% (12/12), done. Writing objects: 100% (16/16), 2.91 KiB | 156.00 KiB/s, done. Total 16 (delta 2), reused 0 (delta 0), pack-reused 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 livswebapp2. remote: To https://git.heroku.com/livswebapp2.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://ift.tt/2ENc7P8'
I tried to set the buildpack to python still not working, worth to mention I cant see the git folder when I init it, tried to remove it and init again still cant see it.
Thank you in advance!
Aucun commentaire:
Enregistrer un commentaire