Salaries aggregation Telegram bot, implemented using mongodb
and aiogram
You can run this bot either locally or by using Docker container
-
Clone this repository
-
Build Docker image
docker build -t rlt-test .
-
Run it!
docker run -d --name=rlt-test-container -p 5000:5000 -e TG_BOT_TOKEN="YOUR_TG_BOT_TOKEN_HERE" rlt-test
-
Clone this repository
-
Install necessary requirements
pip install -r requirements.txt
-
Export dumped database
mongorestore --host=localhost --port=27017 ./db/sample_collection.bson
-
Configure bot by basically changing Telegram bot token in
config.json
file{ ... "tg_bot_token": "YOUR_TG_BOT_TOKEN_HERE" }
-
Run it!
python3 app.py