This project is a Python application that aggregates salary data from a MongoDB database. It groups the data by different time intervals (hour, day, month) and calculates the total salary for each interval.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.10 or higher
- MongoDB
- Clone the repository
git clone https://github.com/shalmeo/rlttesttask.git
- Navigate to the project directory
cd rlttesttask
- Install the required packages
pip install -r requirements.txt
- Setting up env variables
export MONGO_URI="mongodb://localhost:27017/"
export MONGO_DB="namedb"
export BOT_TOKEN="your_bot_token"
python -m rlttest.bot