slackbuilds

My Slackbuilds
git clone git://git.server.ky/slackcoder/slackbuilds
Log | Files | Refs | README

README (1206B)


      1 The merchant for the Taler payment system.
      2 
      3 Building this package on Slackware 15.0 requires:
      4 
      5   - Postgres 15.x or greater, slackbuilds.org has version 14.x.
      6   - Build a newer version of llvm, by setting CC=clang, and installing llvm from Slackware Current.
      7   - The pre-release version of Gnunet.
      8 
      9 Installing this package automatically creates the taler-merchant user and group.
     10 
     11 The taler merchant requires a postgres database to be configured.  The setup
     12 described here assumes postgres was installed with using 'Peer authentication'
     13 by default (omitting '-A md5' when running 'initdb' after postgres
     14 installation).
     15 
     16 ```
     17 # Create the database and its user.
     18 sudo -u postgres -- createuser taler-merchant
     19 sudo -u postgres -- createdb taler-merchant --owner taler-merchant
     20 
     21 # Initialize the database, must be done after each upgrade
     22 sudo -u taler-merchant -- taler-merchant-dbinit
     23 ```
     24 
     25 To have the taler system start and stop with your host, add to /etc/rc.d/rc.local:
     26 
     27   if [ -x /etc/rc.d/rc.taler-merchant ]; then
     28     /etc/rc.d/rc.taler-merchant start
     29   fi
     30 
     31 And to /etc/rc.d/rc.local_shutdown (creating if needed):
     32 
     33   if [ -x /etc/rc.d/rc.taler-merchant ]; then
     34     /etc/rc.d/rc.taler-merchant stop
     35   fi