summaryrefslogtreecommitdiff
path: root/bootstrap-demochecker
blob: e4c4d7addbe4c7ffeb6fb0728db9a50dea5cf9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# Bootstrap the Taler setup for the user account that
# is currently logged in.

# Generates a setup for a single user,
# including a postgresql DB.

set -eu

if [[ "demo-checker" != $(whoami) ]] ; then
  echo "Please run this script as the 'demo-checker' user"
fi


if [[ ! -d worker ]]; then
  buildbot-worker create-worker --umask=0o22 ~/worker localhost:9989 demo-worker demo-pass
fi