Something went wrong. Try again.
A monorepo for writing specs and other serious text on the AT Protocol.
Something went wrong. Try again.
portent tap
6 files
README.md
standards-tap #
A Tap instance
dedicated to standards.group, behind the supramundane front. Tap is single-
tenant in spirit (one event channel with acks), so this project runs its own
rather than sharing the one at tap.mycopunk.it.
- Internal:
http://standards-tap:2480on thesupramundanenetwork — what thestandardsservice consumes (STANDARDS_TAP_URL). - Public:
https://tap.standards.group(Caddy front, TLS). - Auth: HTTP basic auth on all API requests — username
admin, passwordTAP_ADMIN_PASSWORDfrom the.envnext to the compose file.sm deploynever syncs.env, so for the server create it there once (it survives later deploys); a local.env(copy.env.example) only servessm deploy --local. - Filter:
TAP_COLLECTION_FILTERS=group.standards.*— only spec records are delivered, whatever else a tracked repo holds. - Tracking: the standards server adds repos itself (on sign-in, on save,
and when an account is first looked up). By hand:
curl -u admin:$PW -X POST https://tap.standards.group/repos/add -d '{"dids":["did:plc:…"]}' - State: SQLite + firehose cursor in
${SM_DATA_ROOT}/standards-tap(/datain the container), backed up with the rest.
Deploy from this directory, before the standards service itself:
ssh root@$SUPRAMUNDANE 'mkdir -p /srv/supramundane/services/standards-tap && umask 077 && printf "TAP_ADMIN_PASSWORD=%s\n" "<password>" > /srv/supramundane/services/standards-tap/.env'
sm deploy # or: sm deploy --local (reads ./.env)