https://github.com/damdo/hackabot-bottega-pabot
Telegram Bot :robot: winner of the Open Data Hackabot 2018 (hackathon)
https://github.com/damdo/hackabot-bottega-pabot
Last synced: 12 months ago
JSON representation
Telegram Bot :robot: winner of the Open Data Hackabot 2018 (hackathon)
- Host: GitHub
- URL: https://github.com/damdo/hackabot-bottega-pabot
- Owner: damdo
- License: gpl-3.0
- Created: 2018-02-20T19:41:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T13:46:09.000Z (almost 8 years ago)
- Last Synced: 2025-02-28T23:59:16.295Z (over 1 year ago)
- Language: Python
- Homepage: https://www.odhb2018.net
- Size: 1.31 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## damdo/hackabot-bottega-pabot
:robot: **Telegram Bot winner** of the **Open Data Hackabot 2018** (hackathon)
developed for the *Provincia Autonoma di Trento (PaT)* by me and my team, the BOTtega. https://www.odhb2018.net/

### CREDITS:
BOTtega team:
- Damiano Donati https://github.com/damdo
- Nicola Garau https://github.com/a7ocin
- Ivan Kayongo https://github.com/benhurIvo
- Andrea Zanella
### SPONSOR AND MENTORS:
Thanks also to our mentors, sponsors and committee:
- Nicola Cracchi Bianchi, Piergiorgio Cipriano and Giulia Degli Esposti from [Dedagroup](https://www.dedagroup.it)
- Carlo Caprini from [U-Hopper](https://u-hopper.com) for the precious help
- The girls and guys at [Provincia Autonoma di Trento](http://www.provincia.tn.it), [Open Data Trentino](https://dati.trentino.it) and [Informatica Trentina](https://www.infotn.it): Cristiana, Francesca, Antonella, Marco, Alessandro, Mirko, Nicola, Federico, and all the others involved in the organization of this inspiring event
### USAGE:
Pre-requisites and running steps
#### PRE-REQUISITES:
- docker-ce up and running
- **IMPORTANT**: to run the bot container properly you must link it to a backend container that exposes data for it in JSON. (we already have a custom backend designed for specific testing purposes, contact us if you need it)
#### RUN:
```sh
# run your backend-service container (not included in this repo)
docker build -t hackabot-bottega-backend-service .
docker run --rm -it --name hackabot-bottega-backend-service hackabot-bottega-backend-service
# run the bot container
docker build -t hackabot-bottega-pabot .
docker run --rm -it -e BOT_TOKEN= --link hackabot-bottega-backend-service:hackabot-bottega-backend-service --name hackabot-bottega-pabot hackabot-bottega-pabot
```
This project uses third party libraries that are distributed under their own terms (See 3RD-PARTY file)
It internally uses:
- the python-telegram-bot library: https://github.com/python-telegram-bot/python-telegram-bot
- the requests library: https://github.com/requests/requests