Skip to content

lopezjurip/uc-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UC Bot

Docker Automated build 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/mrpatiwi/uc-bot.git
cd uc-bot

Install dependencies:

yarn

Make sure to set the next enviorement variables:

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

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