summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-10-17 14:22:30 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-10-17 14:25:31 +0200
commit7f595a5a9dda6e3b077f561c476aad1c0c57da8e (patch)
treec4e47ec37f4d1cd9f7c3327e7cc092f766714bce
parentf6dcc192cf28d794793bb26fae99317922834c81 (diff)
downloaddeployment-7f595a5a9dda6e3b077f561c476aad1c0c57da8e.tar.gz
deployment-7f595a5a9dda6e3b077f561c476aad1c0c57da8e.tar.bz2
deployment-7f595a5a9dda6e3b077f561c476aad1c0c57da8e.zip
add 'tutorial' instance, even though it points to the
same private key and wire details as the 'default' instance. This is useful for didactical purposes, as tutorials do specify the 'instance' value where needed, and it is more intuitive to have 'instance=tutorial' rather than 'instance=default'.
-rwxr-xr-xconfig/generate-config2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/generate-config b/config/generate-config
index 93a3e8a..02c14b7 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -171,12 +171,14 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("merchant-instance-GNUnet", "KEYFILE", "${TALER_DEPLOYMENT_SHARED}/merchant/gnunet.priv")
cfg_put("merchant-instance-Taler", "KEYFILE", "${TALER_DEPLOYMENT_SHARED}/merchant/taler.priv")
cfg_put("merchant-instance-default", "KEYFILE", "${TALER_DEPLOYMENT_SHARED}/merchant/default.priv")
+ cfg_put("merchant-instance-tutorial", "KEYFILE", "${TALER_DEPLOYMENT_SHARED}/merchant/default.priv")
cfg_put("merchant-instance-wireformat-Tor", "TEST_RESPONSE_FILE", "${TALER_DEPLOYMENT_SHARED}/merchant/wire/tor.json")
cfg_put("merchant-instance-wireformat-GNUnet", "TEST_RESPONSE_FILE", "${TALER_DEPLOYMENT_SHARED}/merchant/wire/gnunet.json")
cfg_put("merchant-instance-wireformat-Taler", "TEST_RESPONSE_FILE", "${TALER_DEPLOYMENT_SHARED}/merchant/wire/taler.json")
cfg_put("merchant-instance-wireformat-FSF", "TEST_RESPONSE_FILE", "${TALER_DEPLOYMENT_SHARED}/merchant/wire/fsf.json")
cfg_put("merchant-instance-wireformat-default", "TEST_RESPONSE_FILE", "${TALER_DEPLOYMENT_SHARED}/merchant/wire/default.json")
+ cfg_put("merchant-instance-wireformat-tutorial", "TEST_RESPONSE_FILE", "${TALER_DEPLOYMENT_SHARED}/merchant/wire/default.json")
coin(currency, "ct_10", "0.10")
coin(currency, "1", "1")