#+title: botiut #+author: Annwan #+date: <2022-03-16 Wed> #+options: h:0 num:nil toc:nil ** TODO List - [ ] Write example configuration ** Setup *** Prerequisites - [[https://docs.haskellstack.org/en/stable/README/][The Haskell tool stack]] ([[./stack-arm.org][installing stack on ARM64]]) *** Building #+begin_src sh git clone 'https://git.annwan.me/Annwan/botiut' cd botiut stack setup stack build #+end_src *** Configuring - Put your discord token in ~auth.secret~ in the working directory, without trailing new lines - Put the yaml format configuration in ~conf.yaml~. +A commented configuration example is given in [[./conf.example.yaml][conf.example.yaml]].+ *** Running There is two options 1) Run ~stack run~ from the repository 2) Copy the executable somewhere else, then call it from the expected working directory.