Skip to content

Commit

Permalink
chore: basic indexer cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck committed Jan 17, 2025
1 parent 81a02aa commit 1d542d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ This will plan a deployment, but not execute it -- useful to see ahead what chan

The big kahuna! This will deploy all of your changes, including redeploying lambdas if any of code changes.

## Query

#### `./indexer query <CID>`
Attempts to find the given CID in the Indexer node. The result is a Location Claim that needs to be used to fetch the actual content associated with that CID. In case you want to query a specific node, you can use the following command:

```sh
./indexer query -u https://<NODE_NAME>.indexer.storacha.network <CID>
```

## Releasing a new version

Every time changes are merged to `main` the staging environment is automatically updated. Therefore, staging always runs the latest version of the code. The production environment, however, is only updated when a new version is released.
Expand Down

0 comments on commit 1d542d4

Please sign in to comment.