Something went wrong. Try again.
gotta store my records
Something went wrong. Try again.
Shell
123456789101112131415161718192021222324252627282930313233#!/usr/bin/env bash# Clones the two source-built devnet dependencies at commits verified to work# with this compose file's CLI flags. Both repos are fast-moving (AI-assisted# development, no published container image matching their own main), so# pinning beats "clone main and hope" — re-pin deliberately, not by accident.set -euo pipefailcd "$(dirname "${BASH_SOURCE[0]}")"
JETSTREAM_REPO=https://github.com/bluesky-social/jetstream.gitJETSTREAM_SHA=799fae7a52a1e2eb88fad6424ed6066d8eafba49
MICROCOSM_REPO=https://tangled.org/microcosm.blue/microcosm-rs.gitMICROCOSM_SHA=e54f6518b85309203ca066446e6629dd22e16a76
clone_pinned() { local dir="$1" repo="$2" sha="$3" if [ -d "$dir" ]; then echo "$dir already exists, skipping (rm -rf it first to re-clone)" return fi git clone "$repo" "$dir" git -C "$dir" checkout "$sha"}
clone_pinned jetstream "$JETSTREAM_REPO" "$JETSTREAM_SHA"clone_pinned microcosm-rs "$MICROCOSM_REPO" "$MICROCOSM_SHA"
if [ ! -f .env ]; then ./gen-secrets.shfi
echo "Ready. Run: docker compose up -d --build"