Fix the docs of the Heroku example

This commit is contained in:
Hirrolot 2022-02-05 00:31:13 +06:00
parent aade493391
commit ef323889db
2 changed files with 18 additions and 0 deletions

1
examples/Procfile Normal file
View file

@ -0,0 +1 @@
web: ./target/release/heroku_ping_pong_bot

View file

@ -1,5 +1,22 @@
// The version of Heroku ping-pong-bot, which uses a webhook to receive updates
// from Telegram, instead of long polling.
//
// You will need to configure the buildpack for heroku. We will be using Heroku
// rust buildpack [1]. Configuration was done by using heroku CLI.
//
// If you're creating a new Heroku application, run this:
//
// ```
// heroku create --buildpack emk/rust
// ```
//
// To set buildpack for existing applicaton:
//
// ```
// heroku buildpacks:set emk/rust
// ```
//
// [1] https://github.com/emk/heroku-buildpack-rust
use teloxide::{
dispatching::{