[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: working skeleton, except for l
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: working skeleton, except for libeufin integration |
Date: |
Thu, 02 Mar 2023 14:21:31 +0100 |
This is an automated email from the git hooks/post-receive script.
javier-sepulveda pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 6d7a1b9 working skeleton, except for libeufin integration
6d7a1b9 is described below
commit 6d7a1b930a6fbd4ad4a15d70053aa1f25099e078
Author: Javier Sepulveda <javier.sepulveda@uv.es>
AuthorDate: Thu Mar 2 14:21:05 2023 +0100
working skeleton, except for libeufin integration
---
netzbon/netzbon.sh | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/netzbon/netzbon.sh b/netzbon/netzbon.sh
new file mode 100755
index 0000000..eab9573
--- /dev/null
+++ b/netzbon/netzbon.sh
@@ -0,0 +1,72 @@
+#!/bin/bash
+
+apt update
+apt install wget -y
+
+# Add taler repo
+echo "deb [signed-by=/etc/apt/keyrings/taler-systems.gpg]
https://deb.taler.net/apt/debian stable main" >
/etc/apt/sources.list.d/taler.list
+
+wget -P /etc/apt/keyrings/ https://taler.net/taler-systems.gpg
+
+# Install dependencies
+
+apt install taler postgresql nginx -y
+
+# Create, fill and load config file
+
+# touch deployment.conf
+
+# echo "CUSTOM_PASSWORD=....." > deployment.conf
+# echo "NEXT_VARIABLE=..." >> deployment.conf
+
+# source deployment.conf
+
+# DATABASE
+
+# DB Merchant, configuration
+
+# We can avoid this instruction, if "taler-mechant" refers to
+# database "postgres" instead of "pgsql"
+
+su -lc "createdb pgsql" postgres
+
+
+# DB Exchange, configuration
+
+# echo "CREATE USER taler" | psql -U postgres
+# echo "CREATE DATABASE taler_db" | psql -U taler
+# echo "ALTER ROLE taler WITH PASSWORD ${CUSTOM_PASSWORD}" | psql -U taler
+
+# echo "ALTER SYSTEM SET logging_collector TO 'true';" | psql -U postgres
+# echo "ALTER SYSTEM SET log_directory TO '/logs';" | psql -U postgres
+# echo "ALTER SYSTEM SET log_filename TO 'postgres-%Y-%m-%d.log';" | psql -U
postgres
+
+# pg_ctl restart
+
+# END DATABASE configuration
+
+# EXCHANGE
+
+apt install taler-exchange -y
+
+# MERCHANT
+
+apt install taler-merchant -y
+
+# LIBEUFIN
+
+apt install libeufin -y
+
+systemctl enable --now libeufin-sandbox
+systemctl enable --now libeufin-nexus
+
+
+# NGINX configuration
+
+ln -s /etc/nginx/sites-available/taler-merchant
/etc/nginx/sites-enabled/taler-merchant.conf
+ln -s /etc/nginx/sites-available/taler-exchange
/etc/nginx/sites-enabled/taler-exchange.conf
+
+systemctl reload nginx
+
+echo "Congratulations, you have successfully installed GNU Taler"
+echo "Please check your browser now at http://localhost:80"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: working skeleton, except for libeufin integration,
gnunet <=