mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix the docs of the Heroku example
This commit is contained in:
parent
aade493391
commit
ef323889db
2 changed files with 18 additions and 0 deletions
1
examples/Procfile
Normal file
1
examples/Procfile
Normal file
|
@ -0,0 +1 @@
|
|||
web: ./target/release/heroku_ping_pong_bot
|
|
@ -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::{
|
||||
|
|
Loading…
Reference in a new issue