Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.36 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.36 KB

Crypto LATAM Bot

dependencies dev-dependencies styled with prettier

Telegram bot built with SerjoPepper/bot-brother.

Start conversation here

Development

Requirements:

  • Node.js 8
  • Yarn
  • Redis (at 127.0.0.1:6379)

Clone this repository:

git clone https://github.com/cryptolatam/cryptolatam_bot.git
cd cryptolatam_bot

Install dependencies:

yarn

Make sure to set the next environment variables:

URL=https://asdfg.ngrok.io
TELEGRAM__TOKEN=1g**********************VbQYF

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

Start this bot:

yarn start

Production

Requirements:

  • Docker
  • Docker-Compose

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

docker-compose up -d --build