From c1d23f4a5ffce62e7a7991554578532fbcfa06b5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 26 Mar 2014 23:10:54 +0000 Subject: [PATCH] Beginning of pump.io --- beaglebone.txt | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/beaglebone.txt b/beaglebone.txt index c9e8ef85..2564b46a 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -5197,6 +5197,8 @@ You will notice that an icon appears in the top right corner of the browser, whi -- Jason Self #+END_VERSE +*** GNU Social + For a microblog you will need a separate domain/subdomain, so see [[Setting up a web site]] for details of how to create an Apache configuration for your microblog. If you're using freedns then you will need to create a new subdomain. Install some dependencies: @@ -6052,6 +6054,47 @@ Within a browser open https://mydomainname.com:8888 See documentation in /usr/share/doc/kune/INSTALL.gz +** pump.io + +#+BEGIN_SRC: bash +apt-get update && apt-get install nodejs-legacy mongodb graphicsmagick git-core screen +cd /opt +git clone https://github.com/e14n/pump.io.git +cd /opt/pump.io +npm install +npm install -g databank-mongodb +#+END_SRC + +Edit the configuration file. + +#+BEGIN_SRC: bash +emacs /etc/pump.io.json +#+END_SRC + +Add the following, replacing /mypumpiodomainname.com/ with your domain name. + +#+BEGIN_SRC: bash +{ + "driver": "disk", + "params": {"dir": "/tmp/pumpio/"}, + "secret": "my dog has fleas", + "noweb": false, + "site": "Name of my pump.io site", + "owner": "My name or organisation", + "ownerURL": "http://mypumpiodomainname.com/", + "port": 8000, + "hostname": "mypumpiodomainname.com", + "address": "pumpio.localhost", + "nologger": false, + "serverUser": "pumpio", + "key": "/etc/my/keyfile.key", + "cert": "/etc/my/server.crt", + "uploaddir": "/var/local/pump.io/uploads", + "debugClient": false, + "firehose": "ofirehose.example" +} +#+END_SRC + * Related projects * [[https://freedomboxfoundation.org/][Freedombox]]