summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-04-25 21:35:30 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-04-25 21:35:30 +0200
commit657c8454f5298aea33eb15b99c9acf395e9c2de6 (patch)
tree8366c1919061883ec7762e19a804474315bfe0dc /config
parent06a1869ac7b26209a7b27896377aaf61f406ea39 (diff)
downloaddeployment-657c8454f5298aea33eb15b99c9acf395e9c2de6.tar.gz
deployment-657c8454f5298aea33eb15b99c9acf395e9c2de6.tar.bz2
deployment-657c8454f5298aea33eb15b99c9acf395e9c2de6.zip
adding 'account-1' config section.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/generate-config14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/generate-config b/config/generate-config
index 3e23f55..7f96521 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -143,6 +143,20 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("exchange-wire-test", "bank_url", "https://env.taler.net/{}/bank/".format(envname))
else:
cfg_put("exchange-wire-test", "bank_url", "https://bank.{}.taler.net/".format(envname))
+
+ if standalone:
+ cfg_put("account-1", "account_url", "payto://x-taler-bank/env.taler.net/{}/bank/2".format(envname))
+ else:
+ cfg_put("account-1", "account_url", "payto://x-taler-bank/bank.{}.taler.net/2".format(envname))
+
+ cfg_put("account-1", "wire_response", "${TALER_DEPLOYMENT_SHARED}/exchange/wire/test.json")
+ cfg_put("account-1", "plugin", "taler_bank")
+ cfg_put("account-1", "taler_bank_auth_method", "basic")
+ cfg_put("account-1", "username", "user")
+ cfg_put("account-1", "password", "pass")
+ cfg_put("account-1", "enable_debit", "yes")
+ cfg_put("account-1", "enable_credit", "yes")
+
cfg_put("exchange-wire-test", "bank_account_number", "1")
cfg_put("exchange-wire-test", "exchange_account_number", "2")
cfg_put("exchange-wire-test", "enable", "yes")