#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=lib.sh
source "${SCRIPT_DIR}/lib.sh"

"${SCRIPT_DIR}/00_prereq_check.sh"
"${SCRIPT_DIR}/05_ensure_verl_repo.sh"

mkdir -p \
  "${ROOT_DIR}/shared/hf" \
  "${ROOT_DIR}/shared/datasets" \
  "${ROOT_DIR}/shared/jobs" \
  "${ROOT_DIR}/shared/outputs" \
  "${ROOT_DIR}/shared/ray"

dc up -d
dc ps

