mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +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
|
// The version of Heroku ping-pong-bot, which uses a webhook to receive updates
|
||||||
// from Telegram, instead of long polling.
|
// 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::{
|
use teloxide::{
|
||||||
dispatching::{
|
dispatching::{
|
||||||
|
|
Loading…
Reference in a new issue