diff options
author | ng0 <ng0@n0.is> | 2019-10-11 21:42:57 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-11 21:42:57 +0000 |
commit | 03a6f1f4ad6006f220faf76e391eb3d26b0425e1 (patch) | |
tree | e7374d5d5d8b094e3b9000c20af1c55a70b2bee6 /bootstrap-walletbuilder | |
parent | 2316c7a9693e9a5af49c061958b66b65846188e6 (diff) | |
download | deployment-03a6f1f4ad6006f220faf76e391eb3d26b0425e1.tar.gz deployment-03a6f1f4ad6006f220faf76e391eb3d26b0425e1.tar.bz2 deployment-03a6f1f4ad6006f220faf76e391eb3d26b0425e1.zip |
bootstrap-walletbuilder
Diffstat (limited to 'bootstrap-walletbuilder')
-rwxr-xr-x | bootstrap-walletbuilder | 29 |
1 files changed, 29 insertions, 0 deletions
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 |