annotate INSTALL.md @ 32:ca0b44c1a870 tip

Readme: twitter in the summary, it is best working currently.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 13 Oct 2014 13:22:17 +0200
parents 34cfa565f565
children
rev   line source
0
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
1 # installation
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
2
1
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
3 ### what you need
0
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
4
1
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
5 * facebook api key: https://developers.facebook.com/
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
6 * googleplus api key and secret: https://console.developers.google.com/
13
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
7 * twitter api key and secret: https://dev.twitter.com/
0
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
8 * bridge pump.io user (log in and dont map it to social networks)
1
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
9 for example: bridge@io.intevation.de (https://io.intevation.de/bridge)
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
10
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
11 ### how to install
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
12
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
13 ```
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
14 npm install
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
15 ```
93d23dfc801c change INSTALL.md
Mathias Gebbe <mgebbe@intevation.de>
parents: 0
diff changeset
16
0
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
17 * copy app.js and index.js to pump.io-client-app usually with:
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
18
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
19 ```
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
20 cp app.js_to_pump.io-client-app_lib node_modules/pump.io-client-app/lib/app.js
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
21 cp index.js_to_pump.io-client-app_lib_routes node_modules/pump.io-client-app/lib/routes/index.js
28
faeb3b96bdeb use html-to-text
Mathias Gebbe <mgebbe@intevation.de>
parents: 13
diff changeset
22 mkdir -p lib/ && coffee -b -c -o lib/ src/*.coffee
29
34cfa565f565 replace fromESN twitter links with html <a>
Mathias Gebbe <mgebbe@intevation.de>
parents: 28
diff changeset
23 cp src/restartSYNC.sh lib/restartSYNC.sh
0
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
24 ```
6
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
25
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
26 * configure your Facebook App ID and your Google App ID in
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
27 ```
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
28 views/index.jade
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
29 appId: 'FACEBOOKID',
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
30 'cookiepolicy': "https://yourserver.org",
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
31 'clientid': 'GOOOGLEPLUSCLIENTID',
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
32 ```
13
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
33
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
34 * copy and configure pumpbridge.json.example to /etc/pumpbridge.json
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
35
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
36 ```
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
37 cp pumpbridge.json.example /etc/pumpbridge.json
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
38 ```
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
39 ```
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
40 {
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
41 "driver": "redis",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
42 "params": {"host":"localhost","database":1,"port":6379},
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
43 "secret": "takeanother",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
44 "port": 443,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
45 "bounce": true,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
46 "interval": 900000,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
47 "name": "pumpbridge",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
48 "description": "connect social networks",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
49 "urlPort": 443,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
50 "hostname": "server.com",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
51 "address": "42.42.42.42",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
52 "nologger": false,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
53 "serverUser": "pumpio",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
54 "debugClient": true,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
55 "bridgeid": "bridge@io.intevation.de",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
56 "gpAPI_KEY": "XXXXXXXX-GOOGLEAPIKEY",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
57 "gpCLIENTID": "THEGOOGLECLIENDID",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
58 "gpCLIENTSECRET": "THEGOOGLECLIENTSECRET",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
59 "fbAPPID": "FACEBOOKAPPID",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
60 "fbSECRET": "FACEBOOKSECRET",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
61 "twclient_id": "TWITTERAPIKEY",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
62 "twclient_secret": "TWITTERSECRET",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
63 "key": "/etc/ssl/server.key",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
64 "cert": "/etc/ssl/server.pem"
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
65 }
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
66 ```
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)