Skip to content

Mounthly car cheklist. Upload files from telegram to google drive. Show birtix list response to telegram user.

Notifications You must be signed in to change notification settings

bobck/chekListBot

Repository files navigation

chekListBot

Getting Started:

  1. Clone repo, install dependencies

git clone <git-repo-url> && cd <chekListBot> && npm i

  1. Set up local environment variables

cp .env.example .env

  1. Fix "@2bad" lib to wotk with items

node_modules/@2bad/bitrix/build/main/client/methods/list.js:39 fix "...r" to "...r.items"

  1. Run migrations

npm run up

  1. Sync cars

npm run refreshcars

  1. Install PM2

sudo npm install pm2@latest -g

  1. Start process with PM2, save it to start with PM2 and make PM2 starts on boot pm2 start ecosystem.config.js pm2 save pm2 startup

About

Mounthly car cheklist. Upload files from telegram to google drive. Show birtix list response to telegram user.

Topics

Resources

Stars

Watchers

Forks