You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
802 B

3 years ago
3 years ago
3 years ago
  1. #+title: botiut
  2. #+author: Annwan
  3. #+options: h:0 num:nil toc:nil
  4. ** TODO List
  5. - [ ] Reminders
  6. ** Setup
  7. *** Prerequisites
  8. - [[https://docs.haskellstack.org/en/stable/README/][The Haskell tool stack]] ([[./stack-arm.org][installing stack on ARM64]])
  9. *** Building
  10. #+begin_src sh
  11. git clone 'https://git.annwan.me/Annwan/botiut'
  12. cd botiut
  13. stack setup
  14. stack build
  15. #+end_src
  16. *** Configuring
  17. - Put your discord token in =auth.secret= in the working directory,
  18. without trailing new lines
  19. - Put the yaml format configuration in =conf.yaml=. An commented
  20. configuration example is given in [[./conf.example.yaml][conf.example.yaml]].
  21. *** Running
  22. There is two options
  23. 1) Run =stack run= from the repository
  24. 2) Copy the executable somewhere else, then call it from the expected
  25. working directory.