comparison README @ 8:e0cd5ede76af

Better documentation.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 19 May 2011 20:52:34 +0200
parents d5cfe54f11aa
children a637cde69f71
comparison
equal deleted inserted replaced
7:51cda3a6e1c3 8:e0cd5ede76af
24 https://github.com/astro/node-xmpp 24 https://github.com/astro/node-xmpp
25 25
26 Or if your distribution has these packaged (as in ArchLinux), simply 26 Or if your distribution has these packaged (as in ArchLinux), simply
27 install the packaged version. 27 install the packaged version.
28 28
29 The config file is configuration.js, in the source directory, and the 29 The config file is configuration.js, in the source directory. All
30 directory for the persistent storage of the avatars is defined in the 30 options should be enough documented; if not, contact me.
31 variable config.directory.
32
33 configuration.js should contain these two lines, matching the ones in
34 your XMPP server:
35 exports.jid = 'avatar.your.xmpp.server.tld';
36 exports.password = 'the shared secret'
37 31
38 When you have the dependances installed, you can simply run: 32 When you have the dependances installed, you can simply run:
39 % ./avatar.js 33 % ./avatar.js
40 to launch the component. 34 to launch the component.
41 35