Automatically running app .py in in Heroku
<p>I have created a bot for my website and I currently host in on heroku.com. 
I run it by executing the command </p>

<p><code>heroku run --app cghelper python bot.py</code></p>

<p>This executes the command perfectly through CMD and runs that specific .py file in my github repo. </p>

<p>The issue is when I close the cmd window this stops the bot.py. How can I get the to run automatically. </p>

<p>Thanks </p>

<p>Not sure but try: </p>

<p>heroku run --app cghelper python bot.py &amp;</p>

python django git heroku