StakeSquid / graphprotocol-mainnet-docker

Graph Protocol Mainnet Docker Guide by StakeSquid. Easy to use, one-stop gateway into the Web3 universe via The Graph.
https://www.stakesquid.com
MIT License
52 stars 65 forks source link

Getting error: could not find `Cargo.toml` in `/code` or any parent directory #1

Closed jayraviteja closed 3 years ago

jayraviteja commented 3 years ago

Hello,

I'm a newbie to this environment and technology. Pls help on the below issue.

When I am trying to follow this setup procedure, I've encountered some set of issues..

Resolving one by one, And currently I'm blocked at this error..

When I am running ./runagora --help (or) ./runqlog --help below is the error output.

error: could not find Cargo.toml in /code or any parent directory ./runagora: line 10: /home/ubuntu/graphprotocol-mainnet-docker/agora/target/release/agora: No such file or directory

Is Cargo.toml missing?? How do we get it? It seems some manifest file.

Note:- Pls check the 7th line in runagora file, Check if bash -c '(cd /code/agora; cargo build --release)' need to be changed to bash -c '(cd /code; cargo build --release)'

trader-payne commented 3 years ago

You can skip installing both Agora and Qlog for now. They're not mandatory.

jayraviteja commented 3 years ago

Thanks.. But Unfortunately none of these commands are working either.. Also unable to fetch the rules as shown below.. image

trader-payne commented 3 years ago

Extract queries since depends on qlog

As for the rest, you're supposed to use an actual IPFS Hash not that placeholder. The reason why your CLI doesn't connect to the agent is probably because either: