taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 415f558be20991e577ada1b9de8b3faa56dc508f
parent 88536b476c20b934f01af2ddd6a26c8b6c23874e
Author: Sebastian <sebasjm@gmail.com>
Date:   Fri,  8 Aug 2025 17:12:13 +0200

update script to work from anywhere

Diffstat:
Mregional-currency/container/build.sh | 5++++-
Mregional-currency/container/run.sh | 6++++++
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/regional-currency/container/build.sh b/regional-currency/container/build.sh @@ -1,4 +1,7 @@ #!/bin/bash # This file is in the public domain. -podman build -f container/Dockerfile -t taler +THIS_FILE=$(realpath "$0") +DIR=$(dirname "$THIS_FILE") + +podman build -f $DIR/Dockerfile -t taler diff --git a/regional-currency/container/run.sh b/regional-currency/container/run.sh @@ -1,3 +1,9 @@ +#/bin/bash +# This file is in the public domain. + +THIS_FILE=$(realpath "$0") +DIR=$(dirname "$THIS_FILE") +cd $DIR/.. # Workaround to help the script always work, specially # If the database doesn't have the exchange account the