Initiële commit: VibeFinance 3-container opzet

Basislijn van de bestaande applicatie (Vite/React frontend, Express
backend, PostgreSQL) zoals die in de index stond, plus dev-, release-
en documentatiescripts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jordy Hoogeveen
2026-09-04 09:19:14 +02:00
co-authored by Claude Opus 5
commit e45d5b73fb
54 changed files with 11434 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# ── VibeFinance dev wrapper (macOS/Linux) ────────────────────────────────
# Roept dev.ps1 aan via PowerShell Core (pwsh).
#
# Gebruik:
# ./dev.sh # build + herstart containers
# ./dev.sh build # alleen lokaal bouwen
# ./dev.sh build -Target backend # alleen backend bouwen
# ./dev.sh build -Target frontend # alleen frontend bouwen
# ./dev.sh up # build lokaal + herstart containers
# ./dev.sh up -Target backend # alleen backend bouwen + herstart
# ./dev.sh up -Target frontend # alleen frontend bouwen + herstart
# ./dev.sh down # containers stoppen
# ./dev.sh push # multi-platform build + push
# ./dev.sh push -Target backend # alleen backend pushen
# ./dev.sh push -Target frontend # alleen frontend pushen
#
# Vereisten:
# - pwsh (PowerShell Core) geïnstalleerd: brew install powershell
# - Docker Desktop actief
# - Voor 'push': docker buildx builder actief: docker buildx create --use
# - Voor 'push': ingelogd op registry via: docker login 10.0.3.108:3000
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if ! command -v pwsh &>/dev/null; then
echo "Fout: pwsh niet gevonden. Installeer via: brew install powershell" >&2
exit 1
fi
ACTION="${1:-up}"
shift || true
pwsh -NoProfile -ExecutionPolicy Bypass \
-File "$SCRIPT_DIR/dev.ps1" \
-Action "$ACTION" \
"$@"