Home

Awesome

🚍 Transantiago Bot

Docker Automated build dependencies dev-dependencies styled with prettier

Telegram bot built with SerjoPepper/bot-brother to give you information about the Transantiago. Thanks to @radutzan for this gist.

Start conversation here

Development

Requirements:

Clone this repository:

git clone https://github.com/mrpatiwi/transantiago-bot.git
cd transantiago-bot

Install dependencies:

yarn

Make sure to set the next enviorement variables:

URL=https://asdfg.ngrok.io
TELEGRAM__TOKEN=20**********************VeQYT
GOOGLE__MAPS__KEY=

These can be set with a .env files (ignored by git).

Start this bot:

yarn start

Production

Requirements:

Create the same .env file but with the production values. Then:

docker-compose up -d --build