This is the inofficial heise online telegram bot.
This is how to install and run the software afterwards
pip3 install -r requirements.txt
cd /opt/scripts/heise-online-news-telegram-bot/
cp heise_online_bot/config/config.ini.example heise_online_bot/config/config.ini
cp heise_online_bot/config/news.ini.example heise_online_bot/config/news.ini
cp heise_online_bot/config/users.ini.example heise_online_bot/config/users.ini
Edit the configuration file:
sudo vim /etc/systemd/system/heise-online-bot.service
Paste this and change the paths for your installation:
[Unit]
Description=Heise Online News Telegram Bot
Wants=network-online.target
After=syslog.target time-sync.target network.target network-online.target
[Service]
ExecStart=/usr/bin/python3 heise_online_bot/
WorkingDirectory=/opt/scripts/heise-online-news-telegram-bot/
Restart=always
RestartSec=10
StandardOutput=none
StandardError=none
SyslogIdentifier=heise-online-bot
User=root
Group=root
[Install]
WantedBy=multi-user.target
Reload Daemon:
systemctl daemon-reload
Enable autostart of daemon:
systemctl enable heise-online-bot
Start daemon:
systemctl start heise-online-bot
- error handling improvements
- logging improvements - more logging messages for all log levels
- testing using unit tests
- release planning
To create a development environment you have to execute the following command after cloning the repository:
python3 setup.py develop