Personal time tracker bot. Tracked time by messages.
- Install PostgreSQL and import file
db_scheme.sql
- Create some user with directory in
/home
- Execute commands:
su - [YOUR_USER]
git clone https://github.com/grspectre/time_tracker_bot.git
cd ./time_tracker_bot/
python -m venv --clear venv
./venv/bin/pip install -r ./requirements.txt
cp config.json.template config.json
and edit config.json file
.
exit
cp /home/[USER_DIR]/time_tracker_bot/bot.service /etc/systemd/system/
chown root:root /etc/systemd/system/bot.service
chmod 644 /etc/systemd/system/bot.service
systemctl enable bot
service start bot