-purge libeufin DB before launch
This commit is contained in:
parent
5a5e0c3723
commit
e2e04d8c8e
@ -139,6 +139,7 @@ taler-auditor-exchange -c $CONF -m $MASTER_PUB -u $EXCHANGE_URL || exit_skip "Fa
|
|||||||
# Launch services
|
# Launch services
|
||||||
echo "Launching services (pre audit DB: $TARGET_DB)"
|
echo "Launching services (pre audit DB: $TARGET_DB)"
|
||||||
|
|
||||||
|
rm -rf ${TARGET_DB}-sandbox.sqlite3
|
||||||
export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-sandbox.sqlite3"
|
export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-sandbox.sqlite3"
|
||||||
# Create the default demobank.
|
# Create the default demobank.
|
||||||
cd $MY_TMP_DIR
|
cd $MY_TMP_DIR
|
||||||
@ -230,6 +231,7 @@ unset LIBEUFIN_SANDBOX_USERNAME
|
|||||||
unset LIBEUFIN_SANDBOX_PASSWORD
|
unset LIBEUFIN_SANDBOX_PASSWORD
|
||||||
# Prepare Nexus, which is the side actually talking
|
# Prepare Nexus, which is the side actually talking
|
||||||
# to the exchange.
|
# to the exchange.
|
||||||
|
rm -rf ${TARGET_DB}-nexus.sqlite3
|
||||||
export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-nexus.sqlite3"
|
export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-nexus.sqlite3"
|
||||||
# For convenience, username and password are
|
# For convenience, username and password are
|
||||||
# identical to those used at the Sandbox.
|
# identical to those used at the Sandbox.
|
||||||
|
Loading…
Reference in New Issue
Block a user