$ yarn
$ yarn run seed-setup
edit seed.json
in root folder
$ yarn run seed
Before run server, remember to create bot.config.js in
/env
Development
$ yarn run dev
Production
$ yarn run start
Before docker run, remember to run elasticsearch and mongo containers
$ docker build -t telegram-bot .
$ docker run -p 3000:3000 -d --link elasticsearch:elasticsearch --link mongo:mongo --name telegram-bot --restart always telegram-bot:latest