aboutsummaryrefslogtreecommitdiff
path: root/taler-merchant/README
diff options
context:
space:
mode:
Diffstat (limited to 'taler-merchant/README')
-rw-r--r--taler-merchant/README35
1 files changed, 32 insertions, 3 deletions
diff --git a/taler-merchant/README b/taler-merchant/README
index 7b7ebf5..7d45e58 100644
--- a/taler-merchant/README
+++ b/taler-merchant/README
@@ -1,6 +1,35 @@
The merchant for the Taler payment system.
-The development version is used for this build. Taler also requires some
-bootstrapping in order to follow the usual build steps.
+Building this package on Slackware 15.0 requires:
-Download and create the expected sourcecode into a tar file by running ./download.sh.
+ - 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