summaryrefslogtreecommitdiff
path: root/src/merchant-tools/README
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-05-11 14:03:34 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-05-11 14:07:46 +0200
commitb50bb3ad2bc31fceccaa686fa91ceace278c1897 (patch)
tree870c5854079709c9ba56b8d86a1e925a033437d6 /src/merchant-tools/README
parent61e31b91451665d32be04fbfc2483420ed2aad9d (diff)
downloadmerchant-b50bb3ad2bc31fceccaa686fa91ceace278c1897.tar.gz
merchant-b50bb3ad2bc31fceccaa686fa91ceace278c1897.tar.bz2
merchant-b50bb3ad2bc31fceccaa686fa91ceace278c1897.zip
moving all the tools in one place
Diffstat (limited to 'src/merchant-tools/README')
-rw-r--r--src/merchant-tools/README51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/merchant-tools/README b/src/merchant-tools/README
new file mode 100644
index 00000000..993a87ed
--- /dev/null
+++ b/src/merchant-tools/README
@@ -0,0 +1,51 @@
+
+** Taler Merchant Payments Generator **
+
+=== INTRODUCTION ===
+
+The tool contained in this directory is used to populate the
+merchant's and exchange's database with fake payments.
+It is mainly used for debugging applications that need some
+payments to be in place.
+
+It is mandatory to give it a config file that contains information
+about the setup to target. Note that the merchant and the exchange
+tun by this command will use their own config files, so just few values
+are required for it to run.
+
+
+=== COFIGURATION ===
+
+Any config file must look like the following one.
+
+[payments-generator]
+
+# where on this machine the exchange listens; note that
+# this exchange must be among the ones accepted by the
+# merchant
+exchange = http://localexchange/
+
+# where on this machine the merchant listens
+merchant = http://localshop/
+
+# bank's URI of the customer who withdraws coins.
+# Must be known by the exchange.
+bank = http://localbank/
+
+# must match an instance known by the merchant
+instance = FSF
+
+# must match the currency used by merchant and exchange
+currency = EUR
+
+
+=== INVOCATION ===
+
+taler-merchant-generate-payments -c config/file.conf [-n ITERATIONS]
+
+The -n option instructs the tools about how many iteration of all
+the (internal) commands we want to execute.
+
+** Taler Merchant Dbinit **
+
+TBD