run.sh 479 Bytes
Newer Older
1
2
#!/bin/bash

Christian Pointner's avatar
Christian Pointner committed
3
BASE_D=$(realpath "${BASH_SOURCE%/*}/..")
4
CONFIG="$BASE_D/tank.yaml"
5
6

export AURA_TANK_DEBUG=1
7
export AURA_TANK_LISTEN=127.0.0.1:8040
8
9
export STORE_PATH="/run/user/${UID}/aura-tank"
mkdir -p "${STORE_PATH}"
10

11
export ADMIN_PASSWORD="very-secret"
12
export AURA_ENGINE_SECRET="rather-secret"
13

14
15
export OIDC_CLIENT_ID="937574"
export OIDC_CLIENT_SECRET="ovvJzW2H98bZe2TGxvdhHjLs15xEcr9y"
16

17
[ -f $CONFIG ] && "$BASE_D/tank" --config "$CONFIG" run || echo "tank.yaml is missing"