diff options
-rwxr-xr-x | bootstrap-standalone | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bootstrap-standalone b/bootstrap-standalone index f108c72..1d44dce 100755 --- a/bootstrap-standalone +++ b/bootstrap-standalone @@ -41,6 +41,11 @@ fi mkdir -p $HOME/sockets +/usr/lib/postgresql/9.5/bin/postgres --single -D ~/talerdb -k $HOME/sockets -h "" postgres \ + >/dev/null <<< "create database taler" +/usr/lib/postgresql/9.5/bin/postgres --single -D ~/talerdb -k $HOME/sockets -h "" postgres \ + >/dev/null <<< "create database talercheck" + cat >$HOME/activate <<EOL #!/bin/bash @@ -53,8 +58,9 @@ function taler-exchange-keyup () { } export PATH="$HOME/deployment/bin:$HOME/local/bin:\$PATH" -export TALER_CHECKDB="postgres:///talercheck-$USER" +export TALER_CHECKDB="postgresql:///talercheck?host=$HOME/sockets" export TALER_CONFIG_CURRENCY=$CURRENCY export TALER_CONFIG_ENV=$ENVNAME export TALER_CONFIG_STANDALONE=1 +export TALER_CONFIG_DB="postgresql:///taler?host=$HOME/sockets" EOL |