teloxide/examples/heroku_ping_pong_bot
Pedro Lopes de Azevedo f3e1b41a73 Added heroku_ping_pong_bot example
Altered webhook_ping_pong_bot to work when deployinh to heroku
2020-04-16 23:31:02 -03:00
..
src Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00
Cargo.toml Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00
Procfile Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00
README.md Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00

Heroku example

This is an example project on how to deploy webhook_ping_pong_bot to heroku.

You will need to configure the buildpack for heroku. We will be using Heroku rust buildpack. Configuration was done by using heroku CLI.

If you're creating a new Heroku application, run this command inside example

heroku create --buildpack emk/rust

To set buildpack for existing applicaton:

heroku buildpacks:set emk/rust