First you need to install the PostgreSQL server
For Arch Linux:
sudo pacman -S postgresql
systemctl start postgresql
systemctl enable postgresql
Then you need to clone this repository:
git clone https://github.com/akulij/spendstatbot.git
cd spendstatbot
If you need to setup bot in virtual enviroment, enter in your shell:
make venv
source venv/bin/activate
Then enter:
make setup
to setup the bot.
You need to enter corect values in fields.
Some fields have default values. To keep them just hit Enter.
To start bot just enter:
make