annotate INSTALL.md @ 28:faeb3b96bdeb

use html-to-text
author Mathias Gebbe <mgebbe@intevation.de>
date Tue, 29 Jul 2014 12:14:02 +0200
parents 58a069d12b0c
children 34cfa565f565
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
0
b73191efc65b Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff changeset
23 ```
6
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
24
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
25 * 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
26 ```
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
27 views/index.jade
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
28 appId: 'FACEBOOKID',
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
29 'cookiepolicy': "https://yourserver.org",
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
30 'clientid': 'GOOOGLEPLUSCLIENTID',
a94ac7c3b182 appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents: 1
diff changeset
31 ```
13
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
32
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
33 * 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
34
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 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
37 ```
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 "driver": "redis",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
41 "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
42 "secret": "takeanother",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
43 "port": 443,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
44 "bounce": true,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
45 "interval": 900000,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
46 "name": "pumpbridge",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
47 "description": "connect social networks",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
48 "urlPort": 443,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
49 "hostname": "server.com",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
50 "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
51 "nologger": false,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
52 "serverUser": "pumpio",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
53 "debugClient": true,
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
54 "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
55 "gpAPI_KEY": "XXXXXXXX-GOOGLEAPIKEY",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
56 "gpCLIENTID": "THEGOOGLECLIENDID",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
57 "gpCLIENTSECRET": "THEGOOGLECLIENTSECRET",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
58 "fbAPPID": "FACEBOOKAPPID",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
59 "fbSECRET": "FACEBOOKSECRET",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
60 "twclient_id": "TWITTERAPIKEY",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
61 "twclient_secret": "TWITTERSECRET",
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
62 "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
63 "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
64 }
58a069d12b0c edit INSTALL.md and use correct params in pumpbridge.json
Mathias Gebbe <mgebbe@intevation.de>
parents: 6
diff changeset
65 ```
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)