[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sandcastle-ng] 20/39: sandcastle: libeufin dbinit
From: |
gnunet |
Subject: |
[taler-sandcastle-ng] 20/39: sandcastle: libeufin dbinit |
Date: |
Thu, 11 Jan 2024 13:59:53 +0100 |
This is an automated email from the git hooks/post-receive script.
devan-carpenter pushed a commit to branch master
in repository sandcastle-ng.
commit 1c65be8e4b1668bf2190a27e0b245c61103535f1
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Dec 4 23:17:40 2023 +0100
sandcastle: libeufin dbinit
---
scripts/demo/setup-sandcastle.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh
index 0c0145b..502ac05 100755
--- a/scripts/demo/setup-sandcastle.sh
+++ b/scripts/demo/setup-sandcastle.sh
@@ -169,13 +169,14 @@ systemctl start postgresql.service
# Set up bank
+
+# FIXME: user libeufin-dbconf instead of manual setup
+
BANK_DB=libeufinbank
# Use "|| true" to continue if these already exist.
sudo -i -u postgres createuser -d libeufin-bank || true
sudo -i -u postgres createdb -O libeufin-bank $BANK_DB || true
-sudo -i -u libeufin-bank libeufin-bank dbinit
-
cat <<EOF >/etc/libeufin/libeufin-bank.conf
[libeufin-bankdb-postgres]
# DB connection string
@@ -214,6 +215,8 @@ cat <<EOF >/etc/libeufin/settings.json
}
EOF
+sudo -i -u libeufin-bank libeufin-bank dbinit
+
systemctl enable --now libeufin-bank.service
# TODO: Create accounts for exchange and merchants
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-sandcastle-ng] 03/39: sandcastle-ng: use full registry name for base, (continued)
- [taler-sandcastle-ng] 03/39: sandcastle-ng: use full registry name for base, gnunet, 2024/01/11
- [taler-sandcastle-ng] 05/39: sandcastle-ng: bump version tags, gnunet, 2024/01/11
- [taler-sandcastle-ng] 16/39: sandcastle-ng: update settings to reflect implementation changes, gnunet, 2024/01/11
- [taler-sandcastle-ng] 02/39: sandcastle host unit, gnunet, 2024/01/11
- [taler-sandcastle-ng] 08/39: sandcastle-ng: make run script show logs, gnunet, 2024/01/11
- [taler-sandcastle-ng] 14/39: sandcastle-ng: do not install recommended apt deps, gnunet, 2024/01/11
- [taler-sandcastle-ng] 01/39: import sandcastle-ng, gnunet, 2024/01/11
- [taler-sandcastle-ng] 39/39: sandcastle-ng: incremental tos generation, gnunet, 2024/01/11
- [taler-sandcastle-ng] 21/39: sandcastle: remove clashing currency config, gnunet, 2024/01/11
- [taler-sandcastle-ng] 15/39: sandcastle-ng: ensure apache2 is disabled, gnunet, 2024/01/11
- [taler-sandcastle-ng] 20/39: sandcastle: libeufin dbinit,
gnunet <=
- [taler-sandcastle-ng] 06/39: sandcastle-ng: make run script print to console, gnunet, 2024/01/11
- [taler-sandcastle-ng] 25/39: sandcastle-ng: add support for config overrides, gnunet, 2024/01/11
- [taler-sandcastle-ng] 34/39: sandcastle-ng: do not lift terms dir, generated terms now live in /var/lib/taler, gnunet, 2024/01/11
- [taler-sandcastle-ng] 31/39: sandcastle-ng: setup admin account properly, gnunet, 2024/01/11
- [taler-sandcastle-ng] 10/39: sandcastle-ng: increase default debt limits, gnunet, 2024/01/11
- [taler-sandcastle-ng] 37/39: sandcastle: use dbconfig helpers for libeufin/exchange/merchant, gnunet, 2024/01/11
- [taler-sandcastle-ng] 09/39: sandcastle-ng: add setup for test.taler.net, gnunet, 2024/01/11
- [taler-sandcastle-ng] 32/39: sandcastle-ng: add script printing version strings, gnunet, 2024/01/11
- [taler-sandcastle-ng] 33/39: sandcastle-ng: update tags, gnunet, 2024/01/11
- [taler-sandcastle-ng] 30/39: bump GNUnet version, gnunet, 2024/01/11