-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
56 lines (45 loc) · 2.77 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Dependencies
This program requires the following Python modules to work:
- xmpppy: http://xmpppy.sourceforge.net/
- bitcoin: http://gitorious.org/python-bitcoin/
- python-bitcoim: http://gitorious.org/bitcoim/python-bitcoim/
(version 0.1.0 or later)
It also needs access to a running instance of the bitcoin software
(minimum version determined by python-bitcoim), in server mode
(bitcoind or bitcoin -server). The bitcoin software may run on the same host
or on a different one (see "Configuration" for more details).
# Configuration
Edit 'bitcoim.conf.example' and rename it to '/etc/bitcoim/bitcoim.conf'.
In the [XMPP] section, set up the credentials that should be used to connect
as a component to the Jabber server.
The [database] section is used to set up the file name of the SQLite database
that the program stores its persistent data in (registrations, bitcoin
addresses, users' balances, etc.). The user running the program must have
write access to whatever file name you write in there.
The [bitcoin] section is used for connecting to the bitcoin client (bitcoind
or bitcoin -server). You must at least specify a user and a password.
Optional parameters are 'host' (defaults to localhost), 'port' (defaults
to 8332) and 'protocol' (http or https, defaults to http).
The [main program] section handles the behaviour of the program itself.
The most important option of this section is "admins". Set it to a
space-separated list of the admins' JID.
The "loglevel" option controls the verbosity of the program. Set it to any
of these values:
- 'debug': prints all sorts of debugging information about what is going on.
- 'info': prints possibly interesting information for a system/service
administration purposes.
- 'warning': when something abnormal but not grave is happening. Generally,
the program is able to deal with the situation, but the fact
that it happened might hide something.
- 'error': something is going wrong. You probably want to know about it.
- 'critical': the program can't continue its execution. By the time you get
to read the message, it's probably already stopped.
Any message less important than the value you set won't be printed.
If you don't set a loglevel, or if you set it wrong, 'info' is assumed.
You can also configure the preferred languages of the application, for example
'fr en' (without quotes). This is an ordered, space-separated list of the
languages that should be tried when resolving a translatable string. Since the
English language file is guaranteed to be complete, and it is the reference for
translation, the default value is 'en'. For the same reason, even though you
don't include 'en' in the list, it will always be added at the end, so that a
translation can never fail.