Skip to content

Windows Bot Setup

Brendan Dahl edited this page Feb 2, 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. Install botio from cloned repo (the npm package is not up to date)
  7. git clone https://github.com/arturadib/botio.git
  8. cd botio
  9. modify package
```diff
diff --git a/package.json b/package.json
index ad583af..fca270b 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
     "commander": "0.5.2",
     "express": "2.5.8",
     "request": "2.9.153",
-    "shelljs": "latest"
+    "shelljs": "0.0.5pre4"
   },
   "devDependencies": {},
```
  1. npm install -g .
  2. Install bot files
  3. git clone https://github.com/mozilla/botio-files-pdfjs.git
  4. edit config.json
  5. Setup pdfjsbot github access token
  6. Start the bot botio start --user pdfjsbot --pwd <github access token>
  7. Setup webhooks on github