relay

Log | Files | Refs

INSTALL.md (582B)


      1 # installation
      2 
      3 - you need ircrobots, do `pip3 install ircrobots`
      4 - copy `config.py.example` to `config.py` and edit it
      5 
      6 ## systemd user unit
      7 this is optional but if you want it to autostart
      8 on boot and stuff, do this.
      9 
     10  edit `relay.service` with the correct path and stuff
     11 
     12 `mkdir -p ~/.config/systemd/user` and copy relay.service
     13 to `~/.config/systemd/user`.
     14 
     15 - to linger: `loginctl enable-linger`
     16 - to start on boot: `systemctl --user enable relay`
     17 - to run it: `systemctl --user start relay`
     18 
     19 # run it
     20 if you dont want systemd stuff you can just
     21 `python3 bot.py` or `./bot.py`
     22