# HG changeset patch # User Ralph Meijer # Date 1156176335 0 # Node ID 5191ba7c4df891415b688f015b18bec7b6972547 # Parent bd8e58c73370fb1318b22f32c2f531f04841e55d Work towards first release 0.5.0. - Add licensing information (MIT) - Improve installation instructions. - Use new plugins framework in twisted. diff -r bd8e58c73370 -r 5191ba7c4df8 INSTALL --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INSTALL Mon Aug 21 16:05:35 2006 +0000 @@ -0,0 +1,92 @@ +Requirements +============ + +- Twisted Core >= 2.0.0 +- Twisted Words >= 0.3.0 +- uuid.py (http://ofxsuite.berlios.de/uuid.py) +- A jabber server that supports the component protocol (JEP-0114) + +For the PostgreSQL backend, the following is also required: + +- PostgreSQL +- pyPgSQL + +Installation +============ + +Run: + + python setup.py install + +Configuration +============= + +The configuration file is created using Twisted's mktap, which needs a number +of parameters: + + --jid: The Jabber ID the component will assume. + --rport: the port number of the Jabber server to connect to + --secret: the secret used to authenticate with the Jabber server. + --backend: the backend storage facility to be used (memory or PostgreSQL). + +The default settings of mktap for Idavoll use the memory database and assume +the default settings of jabberd 2.x for --rport and --secret. + +jabberd 2.x +=========== +You can use the 'legacy' component support that defaults to port 5347 with +secret 'secret'. You do not need to add anything specific for this service. + +jabberd 1.4.x +============= + +Put the following in the jabber.xml configuration file of jabberd: + + + + 127.0.0.1 + 5347 + secret + + + +and restart jabberd. Unlike jabber 2.x, you can only have one component per +port, so the port number may need to be changed. + +For other server implementations, please refer to its documentation on +how to interact with server side components using the protocol defined in +JEP-0114. + +Then, in the same directory as this file run: + + mktap idavoll --rport=5347 --jid=pubsub.localhost --secret=secret + +This uses the (default) memory based backend. + +For using the PostgreSQL backend, create a database (for example named pubsub) +like so: + + createdb pubsub + psql pubsub = 2.0.0 -- Twisted Words >= 0.3.0 -- uuid.py (http://ofxsuite.berlios.de/uuid.py) -- A jabber server that supports the component protocol (JEP-0114) - -For the PostgreSQL backend, the following is also required: - -- PostgreSQL -- pyPgSQL +Installing +========== -Usage -===== - -For jabberd 1.4 configuration, put the following in jabber.xml: - - - - 127.0.0.1 - 1238 - mysecret - - - -and restart jabberd. + Instructions for installing, configuring and running this software are in + INSTALL. -For jabberd 2.x, you can use the 'legacy' component support that defaults -to port 5347. You do not need to add anything specific for this service. - -For other server implementations, please refer to its documentation on -how to interact with server side components using the protocol defined in -JEP-0114. - -Then, in the same directory as this file run: - - mktap idavoll --rport=1238 --jid=pubsub.localhost --secret=1238 - twistd -rf idavoll.tap - -This uses the (default) memory based backend. You can ignore the deprecation -warnings. +Copyright +========= -For using the PostgreSQL backend, create a database (for example named pubsub) -like so: - - createdb pubsub - psql pubsub