Skip to content

Windows Bot Setup

Brendan Dahl edited this page Feb 6, 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. copy amo.json to this folder
  18. Setup pdfjsbot github access token
  19. Start the bot botio start --user pdfjsbot --pwd <github access token>
  20. Setup webhooks on github