Skip to content

Commit

Permalink
Move graph-node docker (#363)
Browse files Browse the repository at this point in the history
* moved docker graph-node into subgraph directory

* updated gitignore

* removing docker/data folder

* updated local dev md

Co-authored-by: Felipe Forbeck <felipe.forbeck@gmail.com>
  • Loading branch information
sophiacodes and fforbeck authored Aug 26, 2021
1 parent 71a1bcd commit 36eb8d5
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ coverageEnv

.env

docker/data
subgraph/docker/data
artifacts
cache
typechain
Expand Down
2 changes: 1 addition & 1 deletion subgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ See [here](https://thegraph.com/docs/deploy-a-subgraph#redeploying-a-subgraph) f

### Local Development Graph Setup

Check out the setup guide [here](https://github.com/openlawteam/tribute-contracts/blob/master/docker/README.md)
Check out the setup guide [here](https://github.com/openlawteam/tribute-contracts/blob/master/subgraph/docker/README.md)

## Subgraph Tests

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docker/README.md → subgraph/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Start ganache with `ganache-cli --host 0.0.0.0 --port 7545 --networkId 1337 --bl

In a new terminal window, `npm run deploy:ganache` and copy the `DaoFactory` contract address and block number into the respective `address` and `startBlock` (important: make sure the block number starts from 1 previous block, for example, if the block number is 19 add 18 as the `startBlock`) for the `DaoFactory` source in `subgraph/subgraph.yaml`.

Then, `cd docker/` and `docker-compose up`.
Then, `cd subgraph/docker/` and `docker-compose up`.

This will start IPFS, Postgres and Graph Node in Docker and create persistent
data directories for IPFS and Postgres in `./data/ipfs` and `./data/postgres`. You
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion website/docs/subgraph/setup/LocalDevelopment.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Make sure the block number starts from 1 previous block, for example, if the blo
Then execute:

```bash
cd docker/
cd subgraph/docker/
docker-compose up
```

Expand Down

0 comments on commit 36eb8d5

Please sign in to comment.