Skip to content

Commit

Permalink
Merge pull request #204 from cosmos/add-access-instructions
Browse files Browse the repository at this point in the history
Add Anonymous access config README.md
  • Loading branch information
abefernan authored Mar 19, 2024
2 parents 2051ac1 + 1f91dd6 commit 5ce9579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This app relies on DGraph as for storing account, transaction and signature deta
- Create a [DGraph](https://cloud.dgraph.io) account
- Launch a new backend
- Click the `Develop -> Schema` menu item, and past the contents of the `db-schema.graphql` file in the root of this repo
- On the `Develop -> Schema` view, click the `Access` tab, and make sure Anonymous Access is OFF.
- Click the `Admin -> Settings` menu item, and create a key. Copy that key into your vercel app's environment variables as the `DGRAPH_SECRET` value

As your instance of the app is used, you can return to the DGraph dashboard to view records for any accounts, transactions or signatures.
Expand Down Expand Up @@ -52,6 +53,7 @@ This app relies on DGraph as for storing account, transaction and signature deta
- Create a [DGraph](https://cloud.dgraph.io) account
- Launch a new backend
- Click the `Develop -> Schema` menu item, and past the contents of the `db-schema.graphql` file in the root of this repo
- On the `Develop -> Schema` view, click the `Access` tab, and make sure Anonymous Access is OFF.
- Click the `Admin -> Settings` menu item, and create a key. Copy that key into your vercel app's environment variables as the `DGRAPH_SECRET` value

As your instance of the app is used, you can return to the DGraph dashboard to view records for any accounts, transactions or signatures.
Expand Down

0 comments on commit 5ce9579

Please sign in to comment.