I "finished" a little python project and I want to deploy it on heroku GitHub page. I want to execute: python2 main.py -i json-rpc in order to have the json-rpc server listening for connections but I get the following error when pushing to heroku:
$ git push heroku master Counting objects: 153, done. Delta compression using up to 8 threads. Compressing objects: 100% (87/87), done. Writing objects: 100% (153/153), 43.42 KiB, done. Total 153 (delta 61), reused 153 (delta 61)
-----> Heroku receiving push ! Heroku push rejected, no Cedar-supported app detected
To [email protected]:panager.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to '[email protected]:panager.git'
heroku create, and then trygit push heroku master.requirements.txtnecessary for Heroku to install Python dependencies you might need. Have you read Getting Started with Python on Heroku?virtualenv, since I don't see one on Github and there's no.gitignoreto ignore it.virtualenvs are requirements for Python apps on Heroku.