tooter/README.md

22 lines
615 B
Markdown
Raw Normal View History

2019-05-30 01:03:12 +00:00
# tooter
irc tooter bot
deps:
* [Mastodon.py](https://github.com/halcy/Mastodon.py)
2022-05-09 21:02:51 +00:00
* emoji (python3-emoji on debian and derivatives)
* [ircrobots](https://github.com/jesopo/ircrobots)
* PyYAML (python3-yaml on debian and derivatives)
2019-05-30 01:03:12 +00:00
2022-05-09 21:02:51 +00:00
## venv setup
- `python3 -m venv venv`
- `. venv/bin/activate`
- `pip install -r requirements.txt`
- `cp config.example.yaml config.yaml`
- edit config.yaml as needed
2019-05-30 01:03:12 +00:00
## install systemd user unit
1. `cp tooter.service ~/.config/systemd/user/`
2022-05-09 21:02:51 +00:00
1. edit paths to WorkingDirectory and ExecStart in `~/.config/systemd/user/tooter.service`
2019-05-30 01:03:12 +00:00
1. `systemctl --user enable --now tooter`