Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Command #816

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/pages/en/cookbook/arweave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Writing the mappings of an Arweave Subgraph is very similar to writing the mappi
Once your subgraph has been created on your Subgraph Studio dashboard, you can deploy by using the `graph deploy` CLI command.

```bash
graph deploy --studio --access-token <your-access-token>
graph deploy --access-token <your-access-token>
```

## Querying an Arweave Subgraph
Expand Down
2 changes: 1 addition & 1 deletion website/pages/en/cookbook/cosmos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Once your subgraph has been created, you can deploy your subgraph by using the `
Visit the Subgraph Studio to create a new subgraph.

```bash
graph deploy --studio subgraph-name
graph deploy subgraph-name
```

**Local Graph Node (based on default configuration):**
Expand Down
4 changes: 2 additions & 2 deletions website/pages/en/cookbook/near.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ The node configuration will depend on where the subgraph is being deployed.
### Subgraph Studio

```sh
graph auth --studio
graph deploy --studio <subgraph-name>
graph auth
graph deploy <subgraph-name>
```

### Local Graph Node (based on default configuration)
Expand Down
6 changes: 3 additions & 3 deletions website/pages/en/deploying/deploy-using-subgraph-studio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ In order to be supported by Indexers on The Graph Network, subgraphs must:
Once your subgraph has been created in Subgraph Studio, you can initialize its code through the CLI using this command:

```bash
graph init --studio <SUBGRAPH_SLUG>
graph init <SUBGRAPH_SLUG>
```

You can find the `<SUBGRAPH_SLUG>` value on your subgraph details page in Subgraph Studio, see image below:
Expand All @@ -86,7 +86,7 @@ Before you can deploy your subgraph to Subgraph Studio, you need to log into you
Then, use the following command to authenticate from the CLI:

```bash
graph auth --studio <DEPLOY KEY>
graph auth <DEPLOY KEY>
```

## Deploying a Subgraph
Expand All @@ -98,7 +98,7 @@ Once you are ready, you can deploy your subgraph to Subgraph Studio.
Use the following CLI command to deploy your subgraph:

```bash
graph deploy --studio <SUBGRAPH_SLUG>
graph deploy <SUBGRAPH_SLUG>
```

After running this command, the CLI will ask for a version label.
Expand Down
2 changes: 1 addition & 1 deletion website/pages/en/developing/creating-a-subgraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ graph init \
The following command initializes a new project from an example subgraph:

```sh
graph init --studio <SUBGRAPH_SLUG> --from-example=example-subgraph
graph init <SUBGRAPH_SLUG> --from-example=example-subgraph
```

- The [example subgraph](https://github.com/graphprotocol/example-subgraph) is based on the Gravity contract by Dani Grant, which manages user avatars and emits `NewGravatar` or `UpdateGravatar` events whenever avatars are created or updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ With your GraphQL endpoint, you can use various GraphQL Client libraries to quer

### Graph Client


The Graph is providing its own GraphQL client, `graph-client` that supports unique features such as:

- Cross-chain Subgraph Handling: Querying from multiple subgraphs in a single query
Expand Down
6 changes: 3 additions & 3 deletions website/pages/en/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ For additional information on subgraph creation and the Graph CLI, see [Creating
The following command initializes your subgraph from an existing contract:

```sh
graph init --studio <SUBGRAPH_SLUG>
graph init <SUBGRAPH_SLUG>
```

> Note: If your contract was verified on Etherscan, then the ABI will automatically be created in the CLI.
Expand Down Expand Up @@ -113,9 +113,9 @@ Remember, deploying is not the same as publishing.

```sh

graph auth --studio <DEPLOY_KEY>
graph auth <DEPLOY_KEY>

graph deploy --studio <SUBGRAPH_SLUG>
graph deploy <SUBGRAPH_SLUG>
```

- The CLI will ask for a version label.
Expand Down