mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-07 02:59:41 +01:00
f3e1b41a73
Altered webhook_ping_pong_bot to work when deployinh to heroku
15 lines
488 B
Markdown
15 lines
488 B
Markdown
# 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](https://github.com/emk/heroku-buildpack-rust). 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
|
|
```
|