Mercurial > pumpbridge
changeset 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 | f190abf340ef |
children | c1b736a859c9 |
files | INSTALL.md pumpbridge.json.example |
diffstat | 2 files changed, 36 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL.md Thu Jun 12 10:23:05 2014 +0200 +++ b/INSTALL.md Thu Jun 12 10:34:02 2014 +0200 @@ -4,6 +4,7 @@ * facebook api key: https://developers.facebook.com/ * googleplus api key and secret: https://console.developers.google.com/ +* twitter api key and secret: https://dev.twitter.com/ * bridge pump.io user (log in and dont map it to social networks) for example: bridge@io.intevation.de (https://io.intevation.de/bridge) @@ -27,3 +28,37 @@ 'cookiepolicy': "https://yourserver.org", 'clientid': 'GOOOGLEPLUSCLIENTID', ``` + +* copy and configure pumpbridge.json.example to /etc/pumpbridge.json + +``` +cp pumpbridge.json.example /etc/pumpbridge.json +``` +``` +{ +"driver": "redis", +"params": {"host":"localhost","database":1,"port":6379}, +"secret": "takeanother", +"port": 443, +"bounce": true, +"interval": 900000, +"name": "pumpbridge", +"description": "connect social networks", +"urlPort": 443, +"hostname": "server.com", +"address": "42.42.42.42", +"nologger": false, +"serverUser": "pumpio", +"debugClient": true, +"bridgeid": "bridge@io.intevation.de", +"gpAPI_KEY": "XXXXXXXX-GOOGLEAPIKEY", +"gpCLIENTID": "THEGOOGLECLIENDID", +"gpCLIENTSECRET": "THEGOOGLECLIENTSECRET", +"fbAPPID": "FACEBOOKAPPID", +"fbSECRET": "FACEBOOKSECRET", +"twclient_id": "TWITTERAPIKEY", +"twclient_secret": "TWITTERSECRET", +"key": "/etc/ssl/server.key", +"cert": "/etc/ssl/server.pem" +} +```
--- a/pumpbridge.json.example Thu Jun 12 10:23:05 2014 +0200 +++ b/pumpbridge.json.example Thu Jun 12 10:34:02 2014 +0200 @@ -1,6 +1,6 @@ { "driver": "redis", -"pparams": {"host":"localhost","database":14,"port":6379}, +"params": {"host":"localhost","database":14,"port":6379}, "secret": "takeanother", "port": 443, "bounce": true,