aboutsummaryrefslogtreecommitdiff
path: root/taler-merchant/README
blob: 7d45e585d3359d1827dface4de26bb0cc63aa0eb (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
The merchant for the Taler payment system.

Building this package on Slackware 15.0 requires:

  - Postgres 15.x or greater, slackbuilds.org has version 14.x.
  - Build a newer version of llvm, by setting CC=clang, and installing llvm from Slackware Current.
  - The pre-release version of Gnunet.

Installing this package automatically creates the taler-merchant user and group.

The taler merchant requires a postgres database to be configured.  The setup
described here assumes postgres was installed with using 'Peer authentication'
by default (omitting '-A md5' when running 'initdb' after postgres
installation).

```
# Create the database and its user.
sudo -u postgres -- createuser taler-merchant
sudo -u postgres -- createdb taler-merchant --owner taler-merchant

# Initialize the database, must be done after each upgrade
sudo -u taler-merchant -- taler-merchant-dbinit
```

To have the taler system start and stop with your host, add to /etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.taler-merchant ]; then
    /etc/rc.d/rc.taler-merchant start
  fi

And to /etc/rc.d/rc.local_shutdown (creating if needed):

  if [ -x /etc/rc.d/rc.taler-merchant ]; then
    /etc/rc.d/rc.taler-merchant stop
  fi