taler-deployment

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

commit 5cf9e76e20f2cab20c12a548172717b7f518f583
parent 019b5a31c3fc5b8ee052c664d8d6f5c45c5f1fe4
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu, 19 May 2016 18:58:56 +0200

rename / comment script

Diffstat:
Dbootstrap-hybrid | 35-----------------------------------
Abootstrap-standalone | 33+++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 35 deletions(-)

diff --git a/bootstrap-hybrid b/bootstrap-hybrid @@ -1,35 +0,0 @@ -#!/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 <<EOL -#!/bin/bash -export PATH="$base/local/bin:$base/deployment/bin:\$PATH" -EOL - -mkdir -p $base/.config diff --git a/bootstrap-standalone b/bootstrap-standalone @@ -0,0 +1,33 @@ +#!/bin/bash + +# Bootstrap a standalone Taler installation from source, +# on one single user account, without blue/green deployment. + +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 <<EOL +#!/bin/bash +export PATH="$base/local/bin:$base/deployment/bin:\$PATH" +EOL + +mkdir -p $base/.config