mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-26 08:57:21 +02:00
Created Windows Bot Setup (markdown)
parent
66ca82c677
commit
cbe742df1d
30
Windows-Bot-Setup.md
Normal file
30
Windows-Bot-Setup.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
1. Install git https://git-scm.com/download/win
|
||||||
|
1. Install python 2.7 https://www.python.org/downloads/windows/
|
||||||
|
1. Ensure installer adds it to the path
|
||||||
|
1. Install node js lts https://nodejs.org/en/
|
||||||
|
1. Install botio from cloned repo (the npm package is not up to date)
|
||||||
|
1. git clone https://github.com/arturadib/botio.git
|
||||||
|
1. cd botio
|
||||||
|
1. 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 .
|
||||||
|
1. Install bot files
|
||||||
|
1. `git clone https://github.com/mozilla/botio-files-pdfjs.git`
|
||||||
|
1. edit config.json
|
||||||
|
1. Setup pdfjsbot github access token
|
||||||
|
1. Start the bot `botio start --user pdfjsbot --pwd <github access token>`
|
||||||
|
1. Setup webhooks on github
|
||||||
Loading…
x
Reference in New Issue
Block a user