commit 0c2c8a5786eef10ff2225ff9dadb34e24e3cd808 parent c4015a46d61fcb751c091e770b26e75bfaf678d7 Author: Florian Dold <florian.dold@gmail.com> Date: Tue, 26 Apr 2016 03:35:16 +0200 separate bootstraps Diffstat:
| D | bootstrap | | | 35 | ----------------------------------- |
| A | bootstrap-demo | | | 36 | ++++++++++++++++++++++++++++++++++++ |
| A | bootstrap-test | | | 35 | +++++++++++++++++++++++++++++++++++ |
3 files changed, 71 insertions(+), 35 deletions(-)
diff --git a/bootstrap b/bootstrap @@ -1,35 +0,0 @@ -#!/bin/bash - -set -eu - -base=${TALER_DEPLOYMENT_BASE:?not set} - -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 /var/git/$component.git - fi -done - -cat >$base/activate <<EOL -#!/bin/bash -export TALER_DEPLOYMENT_BASE=$base -export TALER_PREFIX=$base/local -export PATH="$base/local/bin:$base/deployment/bin:\$PATH" -EOL - -mkdir -p $base/config -ln -sft $base/config $base/deployment/config/taler.net/taler.conf -ln -sft $base/config $base/deployment/config/taler.net/taler - diff --git a/bootstrap-demo b/bootstrap-demo @@ -0,0 +1,36 @@ +#!/bin/bash + +set -eu + +base=${TALER_DEPLOYMENT_BASE:?not set} + +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 /var/git/$component.git + git checkout stable + fi +done + +cat >$base/activate <<EOL +#!/bin/bash +export TALER_DEPLOYMENT_BASE=$base +export TALER_PREFIX=$base/local +export PATH="$base/local/bin:$base/deployment/bin:\$PATH" +EOL + +mkdir -p $base/config +ln -sft $base/config $base/deployment/config/demo.taler.net/taler.conf +ln -sft $base/config $base/deployment/config/demo.taler.net/taler + diff --git a/bootstrap-test b/bootstrap-test @@ -0,0 +1,35 @@ +#!/bin/bash + +set -eu + +base=${TALER_DEPLOYMENT_BASE:?not set} + +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 /var/git/$component.git + fi +done + +cat >$base/activate <<EOL +#!/bin/bash +export TALER_DEPLOYMENT_BASE=$base +export TALER_PREFIX=$base/local +export PATH="$base/local/bin:$base/deployment/bin:\$PATH" +EOL + +mkdir -p $base/config +ln -sft "$base/config" "$base/deployment/config/test.taler.net/taler.conf" +ln -sft "$base/config" "$base/deployment/config/test.taler.net/taler" +