Mirror from bluesky-social/pds

Merge branch 'main' of github.com:bluesky-social/pds

+20 -7
+15 -2
README.md
··· 312 312 {"version":"0.2.2-beta.2"} 313 313 ``` 314 314 315 - #### Connecting to your server 315 + #### Generate an invite code 316 + 317 + By default, your PDS will require an invite code to create an account. 318 + 319 + You can generate a new invite code with the following command: 320 + 321 + ```bash 322 + curl -X POST https://<PDS_HOSTNAME>/xrpc/com.atproto.server.createInviteCode \ 323 + -u "admin:<PDS_ADMIN_PASSWORD>" \ 324 + -H "Content-Type: application/json" \ 325 + -d '{"useCount": 1}' 326 + ``` 327 + 328 + ## Connecting to your server 316 329 317 330 You can use the Bluesky app to connect to your server to create an account. 318 331 319 332 1. Download the Bluesky app 320 333 1. Enter the URL of your PDS (e.g. `https://example.com/`) 321 - 1. Create an account 334 + 1. Create an account using the generated invite code 322 335 1. Create a post 323 336 324 337 Checkout [SANDBOX.md](./SANDBOX.md) for an overview of participating in the sandbox network.
+1 -1
service/package.json
··· 6 6 "main": "index.js", 7 7 "license": "MIT", 8 8 "dependencies": { 9 - "@atproto/pds": "0.2.0-beta.3" 9 + "@atproto/pds": "0.2.0-beta.4" 10 10 } 11 11 }
+4 -4
service/yarn.lock
··· 123 123 resolved "https://registry.yarnpkg.com/@atproto/nsid/-/nsid-0.0.1.tgz#0cdc00cefe8f0b1385f352b9f57b3ad37fff09a4" 124 124 integrity sha512-t5M6/CzWBVYoBbIvfKDpqPj/+ZmyoK9ydZSStcTXosJ27XXwOPhz0VDUGKK2SM9G5Y7TPes8S5KTAU0UdVYFCw== 125 125 126 - "@atproto/pds@0.2.0-beta.3": 127 - version "0.2.0-beta.3" 128 - resolved "https://registry.yarnpkg.com/@atproto/pds/-/pds-0.2.0-beta.3.tgz#c66989a3be33972f6fb16faeb7d5c711e23ba285" 129 - integrity sha512-tcs4xEBDThnfL0KzciFaVV2iB+Kg+010VT+skUUnm52Nci5W8tNe5225e5k28cSCQFerSwLLVDwuYET2YUWkyw== 126 + "@atproto/pds@0.2.0-beta.4": 127 + version "0.2.0-beta.4" 128 + resolved "https://registry.yarnpkg.com/@atproto/pds/-/pds-0.2.0-beta.4.tgz#228085c3d5056d62bdc92f43f741ab6176550db9" 129 + integrity sha512-46YYj4SkyBD5Bhe6nbFZ9E+U83hkrhEtCfP+2aLFjs7CjFb8QL8OHjRoDKgLYCiROwhFUXxtPcVM2RRFl8fOeA== 130 130 dependencies: 131 131 "@atproto/api" "*" 132 132 "@atproto/aws" "*"