blob: 07522bcdec40abeb6931659a475ece50837e69e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/bin/bash
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 /var/git/$component.git
fi
done
for component in bank merchant landing exchange merchant-frontends; do
git -C $base/$component checkout stable
done
cat >$base/activate <<EOL
#!/bin/bash
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
ln -sf "/home/demo/shared-data" "$base"
|