summaryrefslogtreecommitdiff
path: root/bootstrap-standalone
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-05-19 18:58:56 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-05-19 18:58:56 +0200
commit5cf9e76e20f2cab20c12a548172717b7f518f583 (patch)
treec448a8581b749796a4e0c616d03c63e8185d7dbe /bootstrap-standalone
parent019b5a31c3fc5b8ee052c664d8d6f5c45c5f1fe4 (diff)
downloaddeployment-5cf9e76e20f2cab20c12a548172717b7f518f583.tar.gz
deployment-5cf9e76e20f2cab20c12a548172717b7f518f583.tar.bz2
deployment-5cf9e76e20f2cab20c12a548172717b7f518f583.zip
rename / comment script
Diffstat (limited to 'bootstrap-standalone')
-rwxr-xr-xbootstrap-standalone33
1 files changed, 33 insertions, 0 deletions
diff --git a/bootstrap-standalone b/bootstrap-standalone
new file mode 100755
index 0000000..620c392
--- /dev/null
+++ 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