summaryrefslogtreecommitdiff
path: root/README
blob: 586a9e7c39537700138121d8b6198fa0e89a9bc3 (plain)
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
57
58
59
60
61
62
63
Installation instructions
-------------------------

First, initialize the configure script.

$ ./bootstrap

Then, choose the installation prefix

$ ./configure --prefix=<prefix>

Last, install

$ make install

Optionally, to run tests:

$ make check

Configuration options.
----------------------

The following configuration excerpt shows all the options
accepted by the donations shop.

$ cat ~/.config/taler.conf

[frontends]

# Merchant backend to use.
backend = http://backend.test.taler.net/

# This value will fill: "Authorization: ApiKey <fill here>"
backend_apikey = sandbox

[donations]

# The following three options configure the way the donations
# shop will serve UWSGI requests via unix domain sockets.
uwsgi_serve = unix
uwsgi_unixpath = /path/to/donations.uwsgi
uwsgi_unixpath_mode = 660

# The following option picks the merchant instance that
# will be represented by the running donations shop.
instance = default

Running instructions
--------------------

The following command launches the donations shop
to serve HTTP requests on the port <port>.

$ taler-merchant-donations serve-http -p <port>

The following command launches the donations shop
to serve UWSGI requests via a unix domain socket.

$ taler-merchant-donations serve-uwsgi

Finally, get a help message with the following command

$ taler-merchant-donations --help