diff options
author | bryan newbold <bnewbold@robocracy.org> | 2023-03-04 16:48:20 -0800 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2023-03-04 16:48:20 -0800 |
commit | a16558ed05428661936c317c0da15bd07eeaaba1 (patch) | |
tree | 45e145f727b8accab2e3a4582d8d475fb0abc0f1 /adenosine-cli/README.md | |
parent | 6c44f0ee841fe1bf84a8a299e0bf78a01e84f03a (diff) | |
download | adenosine-a16558ed05428661936c317c0da15bd07eeaaba1.tar.gz adenosine-a16558ed05428661936c317c0da15bd07eeaaba1.zip |
cli: ATP_PDS_HOST as env var
Diffstat (limited to 'adenosine-cli/README.md')
-rw-r--r-- | adenosine-cli/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/adenosine-cli/README.md b/adenosine-cli/README.md index c66479d..e5a3cce 100644 --- a/adenosine-cli/README.md +++ b/adenosine-cli/README.md @@ -63,15 +63,15 @@ official official [`bluesky-social/atproto`](https://github.com/bluesky-social/a prototype (see [local atproto dev quickstart](./../notes/atproto_quickstart.md)). -Set the `ATP_HOST` environment variable. Then either register a test account, +Set the `ATP_PDS_HOST` environment variable. Then either register a test account, or create a new session for an existing account, and save the JWT token to the `ATP_AUTH_TOKEN`: # default port for bluesky-social/atproto implementation - export ATP_HOST=http://localhost:2583 + export ATP_PDS_HOST=http://localhost:2583 # default port for adenosine-pds implementation - export ATP_HOST=http://localhost:3030 + export ATP_PDS_HOST=http://localhost:3030 # register a new account adenosine account register -u voltaire.test -p bogus -e voltaire@example.com @@ -96,7 +96,7 @@ or create a new session for an existing account, and save the JWT token to the export ATP_AUTH_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6cGxjOnlxdHVrc3ZhdG1tZ25nZDVua2t3NzVobiIsImlhdCI6MTY2Njk5NjQxNX0.j2wcF1g9NxT_1AvYRiplNf_jtK6S81y3L38AkcBwOqY -You could save the `ATP_HOST` and `ATP_AUTH_TOKEN` values in `~/.bashrc` so you +You could save the `ATP_PDS_HOST` and `ATP_AUTH_TOKEN` values in `~/.bashrc` so you don't need to enter them every time. Now you can start posting and poking around: |