Files
Jannik ddf678fb9c feat: Add Hermes setup sub-script and in-container CLI installation
Fixes Hermes CLI not found in PATH by installing hermes-agent inside paperclip_app container. Symlinks hermes executable to PATH, mounts persistent volumes for venv and hermes-data, configures shared API keys, and integrates setup script into deployment.
2026-10-02 05:10:10 +02:00

15 lines
527 B
Bash

#!/usr/bin/env bash
###############################################################################
# hermes service.init — aufgerufen durch deploy_script.sh (run_service_inits)
# Delegiert die vollständige Einrichtung an setup_hermes.sh
###############################################################################
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
SETUP_SCRIPT="${SCRIPT_DIR}/setup_hermes.sh"
if [[ -f "${SETUP_SCRIPT}" ]]; then
chmod +x "${SETUP_SCRIPT}"
bash "${SETUP_SCRIPT}"
fi