Changes between Version 3 and Version 4 of how-to/servers/support/gnusocial


Ignore:
Timestamp:
Aug 18, 2014, 1:31:12 PM (5 years ago)
Author:
Mats Sjöberg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/servers/support/gnusocial

    v3 v4  
    1 == Adding MF/PL statement check box
     1= Setting up Meteor real-time updates
     2
     3In order to have real-time updates in the web interface of GNU Social one needs to enable the Meteor plugin (part of GNU Social) and set up a Meteor server. The Meteor server can be downloaded from http://meteorserver.org/#download - I used the latest stable source package. Unpack the source code in some suitable directory, then copy the sample config to its place:
     4
     5{{{
     6cp meteord.conf.dist /etc/meteord.conf
     7}}}
     8
     9At the beginning of this file you need to add these configuration options:
     10
     11{{{
     12ControllerIP 127.0.0.1
     13ControllerPort 4671
     14SubscriberIP 127.0.0.1
     15SubscriberPort 8085
     16SubscriberDocumentRoot /path/to/your/meteor/public_html/
     17}}}
     18
     19Set the `SubscriberDocumentRoot` to where you unpacked the meteor source and append `/public_html/`.  If you are serving over https (which you should) you need to edit `public_html/meteor.js` and change the `scheme:` setting from `http` to `https`.
     20
     21= Adding MF/PL statement check box
    222
    323In order to add a check box to have users agree to the MF/PL Statement of Unity I edited two files: `actions/register.php` and `plugins/OpenID/actions/finishopenidlogin.php`. The exact changes are shown below from the output of `git diff`.