Heroku Deployment Config

Heroku Deployment Config

Configuring Heroku is pretty easy IMO. You'll need a Heroku account and to get the CLI tool. Follow the documentation in order to login to Heroku via CLI.

Heroku requires a Procfile in the app-root in order to run. Here's mine

# Procfile
worker: python gebot/main.py

My Procfile tells Heroku to start a worker process with python gebot/main.py command.

Push your Procfile to Heroku to start the app. You can see logs with heroku logs -t.

Good Luck!

Show Comments