Skip to content

Commit

Permalink
docs: change connection string for sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjdominguez committed Dec 4, 2023
1 parent e072f87 commit 6d2d470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/console.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ We've provisioned a read-only database for you to use for this guide if you'd li
string in Step 3:

```text
postgresql://read_only:kd4555jkfjfkdj39f8f8d9d@35.236.11.122:5432/v3-docs-sample-app
postgresql://read_only_user:readonlyuser@35.236.11.122:5432/v3-docs-sample-app
```

:::
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/local-dev.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ We've provisioned a read-only database for you to use for this guide if you'd li
string in Step 3:

```text
postgresql://read_only:kd4555jkfjfkdj39f8f8d9d@35.236.11.122:5432/v3-docs-sample-app
postgresql://read_only_user:readonlyuser@35.236.11.122:5432/v3-docs-sample-app
```

:::
Expand Down Expand Up @@ -137,7 +137,7 @@ The next step is to add a data source to the project so that we can build APIs o
is added through a Data Connector. We will use the [Postgres Data Connector](https://hasura.io/connectors/postgres).

```bash
hasura3 metadata add-hub-connector pg_db --dir . --subgraph default --id hasura/postgres --url postgresql://read_only:kd4555jkfjfkdj39f8f8d9d@35.236.11.122:5432/v3-docs-sample-app
hasura3 metadata add-hub-connector pg_db --dir . --subgraph default --id hasura/postgres --url postgresql://read_only_user:readonlyuser@35.236.11.122:5432/v3-docs-sample-app
```

This will also create a `.env` in the root of your project with the connection string you provided. This allows you to
Expand Down

0 comments on commit 6d2d470

Please sign in to comment.