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 5f9ac88
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@ 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.

## Running

#### `./indexer server start`
Starts the Indexer node you deployed using `make apply`.

#### `./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 5f9ac88

Please # to comment.