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

update docs #139

Merged
merged 1 commit into from
Sep 12, 2023
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
This repository includes index program.

- [Subql](./subql)
- [Thegraph](./thegraph)


15 changes: 4 additions & 11 deletions subql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,9 @@ You can create follow [template](packages/template) project. and then add your
code to `src/handler/logic` directory. last add your logic class to
special [chain handler](packages/template/src/handler/chain/impls.ts).

### How to deploy (to Subquery hosted server)
### How to deploy

Please create new commit to main branch. and the commit message format like this
You can manually run [release ci](https://github.com/darwinia-network/indexer/actions/workflows/subql-release.yml)
when build success, you can see ipfs cid for last action.

```
[deploy-subql] mmr darwinia pangolin | apps all
```

this means you want to deploy project `mmr` and `apps`

the `mmr` project will be deployed with chain `darwinia` and `pangolin`
the `apps` project will be deployed to all chains, it's defined by
[subql-project-chain.json](../.maintain/subql-project-chain.json)
then copy ipfs cid to ansible playbooks project.
9 changes: 9 additions & 0 deletions thegraph/ormpipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ npm run deploy:studio \
-- ormpipe-arbitrum-goerli subgraph-arbitrum-goerli.yaml
```

### deploy to hosted server (by Darwinia)

```
npm run deploy:darwinia \
-- --access-token=<ACCESS_TOKEN> \
ormpipe-pangolin \
subgraph-pangolin.yaml
```

Loading