comparison INSTALL @ 326:b76cbf59772b

update INSTALL file, we don't use remote roster anymore
author souliane <souliane@mailoo.org>
date Fri, 04 Mar 2016 11:26:07 +0100
parents b757c29b20d7
children 6662cc9519cc
comparison
equal deleted inserted replaced
325:8d939378f023 326:b76cbf59772b
5 - Twisted Core 5 - Twisted Core
6 - Twisted Words 6 - Twisted Words
7 - uuid.py (Python 2.5 std. lib. or http://pypi.python.org/pypi/uuid) 7 - uuid.py (Python 2.5 std. lib. or http://pypi.python.org/pypi/uuid)
8 - Wokkel >= 0.5.0 (http://wokkel.ik.nu/) 8 - Wokkel >= 0.5.0 (http://wokkel.ik.nu/)
9 - A Jabber server that supports the component protocol (XEP-0114), 9 - A Jabber server that supports the component protocol (XEP-0114),
10 and, to enable the micro-blogging feature, the remote roster 10 and, to enable the micro-blogging feature, the Namespace Delegation
11 management protocol (XEP-0321). We recommend using Prosody. 11 (XEP-0355) and Privileged Entity (XEP-0356) protocols. We recommend
12 using Prosody.
12 13
13 For the PostgreSQL backend, the following is also required: 14 For the PostgreSQL backend, the following is also required:
14 15
15 - PostgreSQL (including development files for psycopg2) 16 - PostgreSQL (including development files for psycopg2)
16 - psycopg2 17 - psycopg2
94 95
95 Running sat_pubsub with Prosody 96 Running sat_pubsub with Prosody
96 =============================== 97 ===============================
97 98
98 To enable the micro-blogging feature with Prosody XMPP server, you need 99 To enable the micro-blogging feature with Prosody XMPP server, you need
99 the remote_roster plugin. Check if the remote_roster plugin is already 100 the delegation and privilege plugins:
100 in your Prosody installation:
101 101
102 cd prosody/plugins 102 https://modules.prosody.im/mod_delegation.html
103 ls mod_remote_roster.lua 103 https://modules.prosody.im/mod_privilege.html
104 104
105 If you can't see it, download it from here: 105 Your prosody.cfg.lua file needs to look a bit like that:
106 106
107 wget http://prosody-modules.googlecode.com/hg/mod_remote_roster/mod_remote_roster.lua 107 [...]
108 108 modules_enabled = {
109 You need to patch the file (commenting two lines to make all contacts available): 109 [...]
110 110 "delegation";
111 wget http://paste.debian.net/download/12106 111 "privilege";
112 patch -p2 < paste_1206 112 }
113 113 [...]
114 Edit the prosodi.cfg.lua file to add this module: 114 VirtualHost "<xmpp_domain>"
115 115 privileged_entities = {
116 modules_enabled = { 116 ["sat-pubsub.<xmpp_domain>"] = {
117 [...] 117 roster = "get";
118 "remote_roster"; 118 message = "outgoing";
119 [...] 119 },
120 }
121 delegations = {
122 ["urn:xmpp:mam:1"] = {
123 filtering = {"node"};
124 jid = "sat-pubsub.<xmpp_domain>";
125 },
126 ["http://jabber.org/protocol/pubsub"] = {
127 jid = "sat-pubsub.<xmpp_domain>";
128 },
120 } 129 }
121 130
122 Also add these two lines at the end of the file, adapting them to your XMPP server 131 Component "sat-pubsub.<xmpp_domain>"
123 domain (virtual host) and selecting a password of your choice: 132 component_secret = "<password>"
133 modules_enabled = {"delegation", "privilege"}
124 134
125 Component "sat-pubsub.<xmpp_domain>" 135 Of course, you have to replace <xmpp_domain> and <password> with the good
126 component_secret = "<password>" 136 values.
127 137
128 For a more complete installation and configuration of Prosody to be used with 138 For a more complete installation and configuration of Prosody to be used
129 sat_pubsub, please report yourself to the Salut à Toi wiki: 139 with sat_pubsub, please report yourself to the Salut à Toi wiki:
130 140
131 http://wiki.goffi.org/wiki/Libervia/en#XMPP_server 141 http://wiki.goffi.org/wiki/Libervia/en#XMPP_server