#!/bin/bash set -e echo "=== Setting up kirche-einfach ===" # Backend echo "--- Installing Python dependencies ---" cd /workspaces/kirche-einfach/backend uv sync # Frontend echo "--- Installing Node dependencies ---" cd /workspaces/kirche-einfach/frontend npm install echo "" echo "=== Setup complete ===" echo "Forgejo username: $FORGEJO_USERNAME" # Hand dirs back to vscode (this script runs via sudo; uv/npm create caches as root) chown -R vscode:vscode /workspaces/kirche-einfach/backend/.venv \ /workspaces/kirche-einfach/frontend/node_modules \ /home/vscode/.cache 2>/dev/null || true