public
anord
read
Ledger
Why work hard when you can work easier?
Languages
Repository composition by tracked source files.
TypeScript
86%
CSS
10%
SQL
3%
Shell
1%
HTML
0%
Trace
infra/scripts/vm-update.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
vm-update.sh
on main
Author
Date
Commit
Line
Code
Alex Nord
3 months ago
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 1
#!/usr/bin/env bash
#!/usr/bin/env bash
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 2
set -euo pipefail
set -euo pipefail
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 3
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 4
DEFAULT_REPO_URL="https://github.com/Anord-cc/ledger.git"
DEFAULT_REPO_URL="https://github.com/Anord-cc/ledger.git"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 5
DEFAULT_BRANCH="main"
DEFAULT_BRANCH="main"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 6
DEFAULT_APP_DIR="/opt/ledger"
DEFAULT_APP_DIR="/opt/ledger"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 7
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 8
resolve_default_app_dir() {
resolve_default_app_dir() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 9
local script_dir repo_root
local script_dir repo_root
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 10
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 11
repo_root="$(cd "$script_dir/../.." && pwd)"
repo_root="$(cd "$script_dir/../.." && pwd)"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 12
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 13
if [ -f "$repo_root/docker-compose.yml" ] && [ -d "$repo_root/.git" ]; then
if [ -f "$repo_root/docker-compose.yml" ] && [ -d "$repo_root/.git" ]; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 14
printf '%s' "$repo_root"
printf '%s' "$repo_root"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 15
return
return
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 16
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 17
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 18
printf '%s' "$DEFAULT_APP_DIR"
printf '%s' "$DEFAULT_APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 19
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 20
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 21
APP_DIR="${APP_DIR:-$(resolve_default_app_dir)}"
APP_DIR="${APP_DIR:-$(resolve_default_app_dir)}"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 22
REPO_URL="${REPO_URL:-$DEFAULT_REPO_URL}"
REPO_URL="${REPO_URL:-$DEFAULT_REPO_URL}"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 23
BRANCH="${BRANCH:-$DEFAULT_BRANCH}"
BRANCH="${BRANCH:-$DEFAULT_BRANCH}"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 24
FORCE_RESET="${FORCE_RESET:-0}"
FORCE_RESET="${FORCE_RESET:-0}"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 25
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 26
log() {
log() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 27
printf '\n[%s] %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$1"
printf '\n[%s] %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$1"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 28
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 29
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 30
require_cmd() {
require_cmd() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 31
if ! command -v "$1" >/dev/null 2>&1; then
if ! command -v "$1" >/dev/null 2>&1; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 32
printf 'Missing required command: %s\n' "$1" >&2
printf 'Missing required command: %s\n' "$1" >&2
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 33
exit 1
exit 1
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 34
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 35
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 36
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 37
ensure_repo() {
ensure_repo() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 38
if [ -d "$APP_DIR/.git" ]; then
if [ -d "$APP_DIR/.git" ]; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 39
return
return
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 40
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 41
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 42
log "Cloning Ledger into $APP_DIR"
log "Cloning Ledger into $APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 43
rm -rf "$APP_DIR"
rm -rf "$APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 44
git clone --branch "$BRANCH" "$REPO_URL" "$APP_DIR"
git clone --branch "$BRANCH" "$REPO_URL" "$APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 45
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 46
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 47
update_repo() {
update_repo() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 48
cd "$APP_DIR"
cd "$APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 49
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 50
if [ -n "$(git status --porcelain)" ] && [ "$FORCE_RESET" != "1" ]; then
if [ -n "$(git status --porcelain)" ] && [ "$FORCE_RESET" != "1" ]; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 51
printf 'Refusing to update because %s has local changes. Re-run with FORCE_RESET=1 to discard them.\n' "$APP_DIR" >&2
printf 'Refusing to update because %s has local changes. Re-run with FORCE_RESET=1 to discard them.\n' "$APP_DIR" >&2
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 52
exit 1
exit 1
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 53
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 54
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 55
log "Fetching latest code from $BRANCH"
log "Fetching latest code from $BRANCH"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 56
git fetch origin "$BRANCH" --prune
git fetch origin "$BRANCH" --prune
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 57
git checkout "$BRANCH"
git checkout "$BRANCH"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 58
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 59
if [ "$FORCE_RESET" = "1" ]; then
if [ "$FORCE_RESET" = "1" ]; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 60
git reset --hard "origin/$BRANCH"
git reset --hard "origin/$BRANCH"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 61
else
else
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 62
git pull --ff-only origin "$BRANCH"
git pull --ff-only origin "$BRANCH"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 63
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 64
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 65
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 66
ensure_env() {
ensure_env() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 67
cd "$APP_DIR"
cd "$APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 68
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 69
if [ -f .env ]; then
if [ -f .env ]; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 70
return
return
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 71
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 72
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 73
if [ -f .env.example ]; then
if [ -f .env.example ]; then
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 74
cp .env.example .env
cp .env.example .env
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 75
log "Created .env from .env.example. Review it before exposing Ledger publicly."
log "Created .env from .env.example. Review it before exposing Ledger publicly."
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 76
return
return
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 77
fi
fi
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 78
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 79
printf 'Missing .env and .env.example in %s\n' "$APP_DIR" >&2
printf 'Missing .env and .env.example in %s\n' "$APP_DIR" >&2
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 80
exit 1
exit 1
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 81
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 82
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 83
update_stack() {
update_stack() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 84
cd "$APP_DIR"
cd "$APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 85
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 86
log "Pulling base images"
log "Pulling base images"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 87
docker compose pull bootstrap postgres redis api web worker
docker compose pull bootstrap postgres redis api web worker
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 88
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 89
log "Starting database and cache"
log "Starting database and cache"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 90
docker compose up -d postgres redis
docker compose up -d postgres redis
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 91
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 92
log "Refreshing dependencies"
log "Refreshing dependencies"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 93
docker compose run --rm bootstrap
docker compose run --rm bootstrap
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 94
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 95
log "Restarting Ledger services"
log "Restarting Ledger services"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 96
docker compose up -d --remove-orphans api web worker
docker compose up -d --remove-orphans api web worker
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 97
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 98
log "Current container status"
log "Current container status"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 99
docker compose ps
docker compose ps
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 100
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 101
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 102
print_summary() {
print_summary() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 103
log "Ledger update complete"
log "Ledger update complete"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 104
printf 'App dir: %s\n' "$APP_DIR"
printf 'App dir: %s\n' "$APP_DIR"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 105
printf 'Branch: %s\n' "$BRANCH"
printf 'Branch: %s\n' "$BRANCH"
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 106
printf 'API health: http://127.0.0.1:4000/health\n'
printf 'API health: http://127.0.0.1:4000/health\n'
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 107
printf 'Web app: http://127.0.0.1:5173\n'
printf 'Web app: http://127.0.0.1:5173\n'
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 108
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 109
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 110
main() {
main() {
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 111
require_cmd git
require_cmd git
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 112
require_cmd docker
require_cmd docker
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 113
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 114
ensure_repo
ensure_repo
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 115
update_repo
update_repo
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 116
ensure_env
ensure_env
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 117
update_stack
update_stack
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 118
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 119
print_summary
print_summary
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 120
}
}
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 121
same change
8c705f9
UI Fixes and added update script
- Full commit hash
8c705f98290184505955ba11fb7a66ff146344b5- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 122
main "$@"
main "$@"