Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 895 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 895 Bytes

LTO Node Alerts

This service sends notifications about Nodes that their balance reached a minimum threshold.

These notifications are sent in the Telegram channel LTO Node Alerts.

Pre-requisites

Installation

Install from source

Clone project repository:

$ git clone https://github.com/pantunes/lto-node-alerts.git
$ cd lto-node-alerts

Setup Python virtual environment:

$ virtualenv venv -p python3
$ source venv/bin/activate

Install package in develop mode:

pip install -e .

(Dependencies will be installed automatically from requirements.txt)

Start services

Bot

$ BOT_TOKEN_ID=<bot_id_token> bot

Scheduler

$ BOT_TOKEN_ID=<bot_id_token> GROUP_CHAT_ID=<GROUP_CHAT_ID> scheduler