# HG changeset patch # User Ralph Meijer # Date 1212141864 0 # Node ID 8ab16e319bb812e1681a7668f553d98273780fd0 # Parent a219fe70a762aded99a8e2f35add8939c7580f88 Release Idavoll 0.7.3. diff -r a219fe70a762 -r 8ab16e319bb8 INSTALL --- a/INSTALL Fri May 30 09:56:08 2008 +0000 +++ b/INSTALL Fri May 30 10:04:24 2008 +0000 @@ -1,41 +1,124 @@ Requirements ============ -- Twisted >= 8.0.1 +- Twisted >= 8.0.1: + - Twisted Core + - Twisted Conch (for idavoll-http) + - Twisted Web (for idavoll-http) + - Twisted Web2 (for idavoll-http) + - Twisted Words - uuid.py (Python 2.5 std. lib. or http://pypi.python.org/pypi/uuid) -- A Jabber server that supports the component protocol (JEP-0114) - Wokkel >= 0.3.1 (http://wokkel.ik.nu/) +- simplejson (for idavoll-http) +- A Jabber server that supports the component protocol (XEP-0114) For the PostgreSQL backend, the following is also required: - PostgreSQL - pyPgSQL + Installation ============ -Run: +Idavoll uses setuptools for package building and installing, and is also +available through the Python Package Index (pypi). The easiest way to +install idavoll is: + + easy_install idavoll + +This will pull down the dependencies, if needed, except for the Twisted +packages. + +To building from source run: + + python setup.py build + +Then, to install run the following, possibly as root: python setup.py install +See the setuptools documentation for further information on changing +installation locations. + + Configuration ============= -The configuration file is created using Twisted's mktap, which needs a number -of parameters: +Idavoll uses Twisted's twistd command for running its services. Starting with +Twisted 2.5.0, twistd supports running Twisted Application Plugins directly, +without the use of mktap. In Twisted 8.1.0, the use of mktap for configuration +is deprecated. These instructions will not cover the use of mktap anymore, but +you can use TAC files to store a configuration, as described near the end +of this document. + +Idavoll provides two types of storage for the backend: a memory-based storage +facility, which is volatile, and a persistent storage facility using +PostgreSQL. By default, the memory backend is used. + +For using the PostgreSQL backend, create a database (for example named pubsub) +like so: + + createdb pubsub + psql pubsub = 0.3.1'] +install_requires = [ + 'wokkel >= 0.3.1', + 'simplejson', +] if sys.version_info < (2, 5): install_requires.append('uuid') setup(name='idavoll', - version='0.7.2', + version='0.7.3', description='Jabber Publish-Subscribe Service Component', author='Ralph Meijer', author_email='ralphm@ik.nu',