#!/bin/bash # Do not hardcode @test or @demo configuration values. # Aimed to be called by a Dockerfile and get those values # set by taler-config utility. It also make use of the # taler-config-generator utility. May obsolete bootstrap-{test,demo}. set -eu base=$HOME mkdir -p $base cd $base if ! test -d $base/gnunet; then svn checkout https://gnunet.org/svn/gnunet fi if ! test -d $base/libmicrohttpd; then svn checkout https://gnunet.org/svn/libmicrohttpd fi for component in bank merchant gnurl landing exchange merchant-frontends deployment; do if ! test -d $base/$component; then git clone git://taler.net/$component fi done cat >$base/activate <