teloxide/examples/heroku_ping_pong_bot/README.md
Pedro Lopes de Azevedo f3e1b41a73 Added heroku_ping_pong_bot example
Altered webhook_ping_pong_bot to work when deployinh to heroku
2020-04-16 23:31:02 -03:00

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
```