https://github.com/prof18/lr-bot
https://github.com/prof18/lr-bot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prof18/lr-bot
- Owner: prof18
- License: mit
- Created: 2017-12-18T16:17:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T16:26:03.000Z (over 8 years ago)
- Last Synced: 2025-06-02T15:07:26.005Z (about 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LR18 BOT
Citations from the SOMMO 'Luca Rossi 18, aka LR18'
### Instructions for deployment
```
cd heroku-telegram-bot
heroku login
heroku create --region eu appname # create app in eu region, common regions: eu, us
heroku addons:create heroku-redis:hobby-dev -a appname # (Optionaly) installing redis
heroku buildpacks:set heroku/python # set python buildpack
git push heroku master # deploy app to heroku
heroku config:set TELEGRAM_TOKEN=123456789:AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLL # set config vars, insert your own
heroku config:set SOME_API_TOKEN=qwertyuiop1234567890
...
heroku ps:scale bot=1 # start bot dyno
heroku logs --tail # If for some reason it’s not working, check the logs
heroku ps:stop bot #stop bot dyno
```
[Credits](https://github.com/Kylmakalle/heroku-telegram-bot)