taler-deployment

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

commit 03a6f1f4ad6006f220faf76e391eb3d26b0425e1
parent 2316c7a9693e9a5af49c061958b66b65846188e6
Author: ng0 <ng0@n0.is>
Date:   Fri, 11 Oct 2019 21:42:57 +0000

bootstrap-walletbuilder

Diffstat:
Abootstrap-walletbuilder | 29+++++++++++++++++++++++++++++
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/bootstrap-walletbuilder 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