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.

40 lines
870 B

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