# HG changeset patch # User Mathias Gebbe # Date 1402562042 -7200 # Node ID 58a069d12b0c092ccec7c5f7f1282988d88b5dc6 # Parent f190abf340efc994d9debd349b263db83925bc8f edit INSTALL.md and use correct params in pumpbridge.json diff -r f190abf340ef -r 58a069d12b0c INSTALL.md --- 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" +} +``` diff -r f190abf340ef -r 58a069d12b0c pumpbridge.json.example --- 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,