Skip to content

Instantly share code, notes, and snippets.

@samuelgoto
Last active January 7, 2025 23:36
Show Gist options
  • Save samuelgoto/31c01fd1a6ebd4313b18fe5ffbcaae3e to your computer and use it in GitHub Desktop.
Save samuelgoto/31c01fd1a6ebd4313b18fe5ffbcaae3e to your computer and use it in GitHub Desktop.
pnpm add @atproto/dev-env
# It seems that handles have to be .test for the dev environment
curl \
  --silent \
  --show-error \
  --request POST \
  --user "admin:${PDS_ADMIN_PASSWORD}" \
  --header "Content-Type: application/json" \
  --data '{"email": "[email protected]", "handle": "ok-email.test", "password": "foobar2342LJKLSD2342!@#!"}' \
  "http://${PDS_HOSTNAME}/xrpc/com.atproto.server.createAccount"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment