summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-11-13 14:31:19 +0100
committerMS <ms@taler.net>2020-11-13 14:31:19 +0100
commit30e97ba70241b3d111e4f479b7d91239b7e8389b (patch)
tree5c863d03baa6b76f8b68f36ba7bd8dbbb86431da /cli
parentcce6694a3bde653573d2ff0f0c88658f8cd9d612 (diff)
downloadlibeufin-30e97ba70241b3d111e4f479b7d91239b7e8389b.tar.gz
libeufin-30e97ba70241b3d111e4f479b7d91239b7e8389b.tar.bz2
libeufin-30e97ba70241b3d111e4f479b7d91239b7e8389b.zip
Testing environment.
Diffstat (limited to 'cli')
-rwxr-xr-xcli/setup-template.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/setup-template.sh b/cli/setup-template.sh
index 44ace032..b4e6285e 100755
--- a/cli/setup-template.sh
+++ b/cli/setup-template.sh
@@ -69,8 +69,8 @@ sleep 2
# create a user
NEXUS_DATABASE=$(curl -s $NEXUS_BASE_URL/service-config | jq .dbConn | tr -d \" | awk -F: '{print $2}')
-echo "Creating a nexus superuser (db: $NEXUS_DATABASE)"
-libeufin-nexus superuser --db-name $NEXUS_DATABASE --password $NEXUS_PASSWORD $NEXUS_USER
+echo "Creating a nexus superuser"
+libeufin-nexus superuser --db-name $NEXUS_DATABASE --password $NEXUS_PASSWORD $NEXUS_USER &> /dev/null
sleep 2
# create a bank connection
@@ -95,3 +95,7 @@ echo Download bank accounts
./libeufin-cli \
connections download-bank-accounts \
$NEXUS_BANK_CONNECTION_NAME > /dev/null
+
+echo Note: NEXUS_USERNAME, NEXUS_PASSWORD, and NEXUS_BASE_URL
+echo have been *already* exported in this shell. Bank connection
+echo $(tput bold)a$(tput sgr0) can be soon used via the $(tput bold)libeufin-cli$(tput sgr0) utility!