Skip to content

Windows Bot Setup

Brendan Dahl edited this page Feb 3, 2017 · 7 revisions
  1. Install git https://git-scm.com/download/win
  2. Install msys2 and copy 'zip' from mys2's bin to git's (TODO: maybe we should start with msys2)
  3. Install python 2.7 https://www.python.org/downloads/windows/
  4. Ensure installer adds it to the path
  5. Install node js lts https://nodejs.org/en/
  6. cd c; mkdir pdfjs
  7. Install botio from cloned repo (the npm package is not up to date)
  8. git clone https://github.com/brendandahl/botio.git
  9. cd botio
  10. npm install -g .
  11. cd .. (back to pdfjs)
  12. Install bot files
  13. git clone https://github.com/mozilla/botio-files-pdfjs.git
  14. cd botio-files-pdfjs
  15. edit config.json
  16. edit test-files/browser_manifest.json
  17. Setup pdfjsbot github access token
  18. Start the bot botio start --user pdfjsbot --pwd <github access token>
  19. Setup webhooks on github