From 03a6f1f4ad6006f220faf76e391eb3d26b0425e1 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 11 Oct 2019 21:42:57 +0000 Subject: bootstrap-walletbuilder --- bootstrap-walletbuilder | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 bootstrap-walletbuilder (limited to 'bootstrap-walletbuilder') diff --git a/bootstrap-walletbuilder b/bootstrap-walletbuilder new file mode 100755 index 0000000..edb093d --- /dev/null +++ b/bootstrap-walletbuilder @@ -0,0 +1,29 @@ +#!/bin/bash + +# Bootstrap the Taler setup for the user account that +# is currently logged in. + +# Generates a setup for a single user, +# including a postgresql DB. + +set -eu + +BRANCH=master +REPOS="wallet-core" + +cd $HOME + +for component in $REPOS; do + if ! test -d $HOME/$component; then + git clone git://localhost/$component.git + fi +done + +for component in $REPOS; do + echo "Checking out $component to $BRANCH" + git -C $HOME/$component checkout $BRANCH +done + +if test ! -d worker ; then + buildbot-worker create-worker --umask=0o22 ~/worker localhost:9989 wallet-worker wallet-pass +fi -- cgit v1.2.3