Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 532 Bytes

CONTRIBUTE.md

File metadata and controls

25 lines (19 loc) · 532 Bytes

Setting up env

To set up local dev environment all you need to do is:

pyvenv env
. env/bin/activate
pip install -e requirements-dev.txt

To verify everything is installed correctly run tests:

py.test

Running bot

Bot requires TG_BOT_TOKEN environment variable to be set.

However, if you do not want to register you own Telegram bot there is a simple interactive terminal interface. Just run the bot and it will fall back to std in/out instead of real Telegram API calls.

python tg_bot.py