NobGit
public anord read

Ledger

Why work hard when you can work easier?

Languages

Repository composition by tracked source files.

TypeScript
TypeScript 86% CSS 10% SQL 3% Shell 1% HTML 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/anord/ledger.git
ssh://[email protected]:2222/orgs/anord/ledger.git

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
Open commit View diff
1 #!/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
Open commit View diff
2 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
Open commit View diff
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"
Open commit View diff
4 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"
Open commit View diff
5 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"
Open commit View diff
6 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
Open commit View diff
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() {
Open commit View diff
8 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
Open commit View diff
9 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)"
Open commit View diff
10 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)"
Open commit View diff
11 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
Open commit View diff
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
Open commit View diff
13 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"
Open commit View diff
14 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
Open commit View diff
15 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
Open commit View diff
16 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
Open commit View diff
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"
Open commit View diff
18 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
}
Open commit View diff
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
Open commit View diff
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)}"
Open commit View diff
21 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}"
Open commit View diff
22 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}"
Open commit View diff
23 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}"
Open commit View diff
24 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
Open commit View diff
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() {
Open commit View diff
26 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"
Open commit View diff
27 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
30 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
Open commit View diff
31 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
Open commit View diff
32 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
Open commit View diff
33 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
Open commit View diff
34 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
37 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
Open commit View diff
38 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
Open commit View diff
39 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
Open commit View diff
40 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
Open commit View diff
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"
Open commit View diff
42 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"
Open commit View diff
43 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"
Open commit View diff
44 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
47 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"
Open commit View diff
48 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
Open commit View diff
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
Open commit View diff
50 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
Open commit View diff
51 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
Open commit View diff
52 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
Open commit View diff
53 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
Open commit View diff
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"
Open commit View diff
55 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
Open commit View diff
56 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"
Open commit View diff
57 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
Open commit View diff
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
Open commit View diff
59 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"
Open commit View diff
60 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
Open commit View diff
61 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"
Open commit View diff
62 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
Open commit View diff
63 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
66 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"
Open commit View diff
67 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
Open commit View diff
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
Open commit View diff
69 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
Open commit View diff
70 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
Open commit View diff
71 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
Open commit View diff
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
Open commit View diff
73 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
Open commit View diff
74 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."
Open commit View diff
75 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
Open commit View diff
76 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
Open commit View diff
77 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
Open commit View diff
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
Open commit View diff
79 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
Open commit View diff
80 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
83 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"
Open commit View diff
84 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
Open commit View diff
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"
Open commit View diff
86 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
Open commit View diff
87 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
Open commit View diff
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"
Open commit View diff
89 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
Open commit View diff
90 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
Open commit View diff
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"
Open commit View diff
92 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
Open commit View diff
93 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
Open commit View diff
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"
Open commit View diff
95 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
Open commit View diff
96 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
Open commit View diff
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"
Open commit View diff
98 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
Open commit View diff
99 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
102 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"
Open commit View diff
103 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"
Open commit View diff
104 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"
Open commit View diff
105 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'
Open commit View diff
106 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'
Open commit View diff
107 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
}
Open commit View diff
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
Open commit View diff
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() {
Open commit View diff
110 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
Open commit View diff
111 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
Open commit View diff
112 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
Open commit View diff
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
Open commit View diff
114 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
Open commit View diff
115 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
Open commit View diff
116 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
Open commit View diff
117 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
Open commit View diff
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
Open commit View diff
119 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
}
Open commit View diff
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
Open commit View diff
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 "$@"
Open commit View diff
122 main "$@"