Skip to content

telegram-ru/ru-bot

Folders and files

NameName
Last commit message
Last commit date
Jun 11, 2018
Mar 29, 2022
Dec 1, 2020
Dec 1, 2020
May 18, 2018
Dec 3, 2020
Dec 3, 2017
Dec 1, 2020
Dec 1, 2020
Dec 2, 2020
May 18, 2018
Dec 1, 2020
Jun 29, 2022
May 18, 2018
Jun 29, 2022
Dec 1, 2020
Oct 20, 2023
Sep 10, 2023
Dec 1, 2020
Dec 2, 2020

Repository files navigation

ru_bot

codecov

Installation

For better development conditions, you need to install docker and docker-compose

Also, we advise you to install all devdependencies locally (linters, etc):

npm install

Don't forget to create .env (from .env.example) and src/.chatlist.json (from src/.chalist.example.json).

When you made all steps above, run

docker-compose pull
docker-compose up -d postgres
docker-compose up --build app

Your application will automatically restart with nodemon after code changes (in src directory).

Create commits through commitizen:

npm install --global commitizen

# commit
git cz

Use next commands to manipulate db schema:

# To run all migrations
npm run migrate

# To rollback latest migration
npm run rollback