Install ts-node
npm i -g ts-node
Install dependencies
yarn
The commands to use will depend on which chain and graph node the subgraph is for.
For apothem on a local graph node, we can use the following commands:
Prepare the subgraph
yarn prep:apothem:{env} where env can be either dev or demo.
Create the subgraph on a local graph node
yarn create:local
Deploy the subgraph on a local graph node
yarn deploy:local
Remove the subgraph on a local graph node
yarn remove:local