teloxide/examples/heroku_ping_pong_bot
Hirrolot b253b7eec2 Don't define async fn run()
rustc now emits enough good compiler error messages for procedural macros such as `#[tokio::main]`.
2021-12-27 21:13:46 +06:00
..
src Don't define async fn run() 2021-12-27 21:13:46 +06:00
Cargo.toml Get ready for v0.4.0 (#347) 2021-03-21 18:34:23 +06: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