Something went wrong. Try again.
A little atproto app for organizing and posting meme images
Something went wrong. Try again.
759 B · 20 lines
Shell
at main
123456789101112131415161718192021#!/usr/bin/env bashset -euo pipefailSCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"PROJECT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"DEVNET_DIR="$PROJECT_DIR/../../src/atproto-devnet"cd "$PROJECT_DIR"
docker compose \ -f "$DEVNET_DIR/docker-compose.yml" \ -f docker-compose.devnet.yml \ --env-file devnet.env \ --project-directory . \ down -v
# `down -v` wipes the PDS/Postgres docker volumes, but accounts.json/.env# live in a bind-mounted host directory and survive — leaving stale DIDs# that no longer resolve against the fresh PLC, and init.sh skipping# reseeding because the file still exists. Remove them so the next# devnet-up.sh always reseeds cleanly.rm -f "$DEVNET_DIR/data/accounts.json" "$DEVNET_DIR/data/accounts.env"