| 1 | | == Adding MF/PL statement check box |
| | 1 | = Setting up Meteor real-time updates |
| | 2 | |
| | 3 | In 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 | {{{ |
| | 6 | cp meteord.conf.dist /etc/meteord.conf |
| | 7 | }}} |
| | 8 | |
| | 9 | At the beginning of this file you need to add these configuration options: |
| | 10 | |
| | 11 | {{{ |
| | 12 | ControllerIP 127.0.0.1 |
| | 13 | ControllerPort 4671 |
| | 14 | SubscriberIP 127.0.0.1 |
| | 15 | SubscriberPort 8085 |
| | 16 | SubscriberDocumentRoot /path/to/your/meteor/public_html/ |
| | 17 | }}} |
| | 18 | |
| | 19 | Set 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 |