Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions orca.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
scripts:
setup: |
#!/usr/bin/env bash
set -euo pipefail
MAIN="${ORCA_ROOT_PATH:-$(dirname "$(git rev-parse --git-common-dir)")}"
seed() { # seed <relative-path> [template-to-fall-back-to]
local rel="$1" tpl="${2:-}"
if [ -f "$MAIN/$rel" ]; then
mkdir -p "$(dirname "$rel")"; cp -p "$MAIN/$rel" "$rel"; echo " seeded $rel"
elif [ -n "$tpl" ] && [ -f "$tpl" ]; then
cp "$tpl" "$rel"; echo " WARNING: no real $rel in main checkout -- copied $tpl"
else
echo " SKIP: no $rel in main checkout and no template"
fi
}

echo "== python venv + editable install =="
python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/pip install -e '.[dev,all]'

echo "== Seed env file from the main checkout =="
seed .vps.env

echo "Worktree setup complete."
echo "Not run automatically: docker compose up (binds 8080/8770/8088), ollama pull, pw serve"
Loading