Mercurial > pumpbridge
diff 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 |
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" +} +```