about summary refs log tree commit diff
path: root/README.md
blob: 48315be7aaed3f6cce1b4a29c9d1057c0c754f9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# tracer

ported to py3 from [selfsame/tracer](https://notabug.org/selfsame/tracer)

irc tracery bot

deps:
* https://github.com/aparrish/pytracery

### setup

1. install deps
    virtualenv -p python3 venv
    . venv/bin/activate
    pip install -r requirements.txt

2. `cp config.ini{.sample,}`
3. edit config.ini
4. start the bot
    venv/bin/python3 tracer.py

### daemonization

1. `mkdir -p ~/.config/systemd/user`
1. `cp tracer.service ~/.config/systemd/user/`
1. adjust ~/.config/systemd/user/tracer.service as needed
1. `systemctl --user daemon-reload`
1. `systemctl --user enable --now tracer`