comparison INSTALL.md @ 13:58a069d12b0c

edit INSTALL.md and use correct params in pumpbridge.json
author Mathias Gebbe <mgebbe@intevation.de>
date Thu, 12 Jun 2014 10:34:02 +0200
parents a94ac7c3b182
children faeb3b96bdeb
comparison
equal deleted inserted replaced
12:f190abf340ef 13:58a069d12b0c
2 2
3 ### what you need 3 ### what you need
4 4
5 * facebook api key: https://developers.facebook.com/ 5 * facebook api key: https://developers.facebook.com/
6 * googleplus api key and secret: https://console.developers.google.com/ 6 * googleplus api key and secret: https://console.developers.google.com/
7 * twitter api key and secret: https://dev.twitter.com/
7 * bridge pump.io user (log in and dont map it to social networks) 8 * bridge pump.io user (log in and dont map it to social networks)
8 for example: bridge@io.intevation.de (https://io.intevation.de/bridge) 9 for example: bridge@io.intevation.de (https://io.intevation.de/bridge)
9 10
10 ### how to install 11 ### how to install
11 12
25 views/index.jade 26 views/index.jade
26 appId: 'FACEBOOKID', 27 appId: 'FACEBOOKID',
27 'cookiepolicy': "https://yourserver.org", 28 'cookiepolicy': "https://yourserver.org",
28 'clientid': 'GOOOGLEPLUSCLIENTID', 29 'clientid': 'GOOOGLEPLUSCLIENTID',
29 ``` 30 ```
31
32 * copy and configure pumpbridge.json.example to /etc/pumpbridge.json
33
34 ```
35 cp pumpbridge.json.example /etc/pumpbridge.json
36 ```
37 ```
38 {
39 "driver": "redis",
40 "params": {"host":"localhost","database":1,"port":6379},
41 "secret": "takeanother",
42 "port": 443,
43 "bounce": true,
44 "interval": 900000,
45 "name": "pumpbridge",
46 "description": "connect social networks",
47 "urlPort": 443,
48 "hostname": "server.com",
49 "address": "42.42.42.42",
50 "nologger": false,
51 "serverUser": "pumpio",
52 "debugClient": true,
53 "bridgeid": "bridge@io.intevation.de",
54 "gpAPI_KEY": "XXXXXXXX-GOOGLEAPIKEY",
55 "gpCLIENTID": "THEGOOGLECLIENDID",
56 "gpCLIENTSECRET": "THEGOOGLECLIENTSECRET",
57 "fbAPPID": "FACEBOOKAPPID",
58 "fbSECRET": "FACEBOOKSECRET",
59 "twclient_id": "TWITTERAPIKEY",
60 "twclient_secret": "TWITTERSECRET",
61 "key": "/etc/ssl/server.key",
62 "cert": "/etc/ssl/server.pem"
63 }
64 ```
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)