-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (22 loc) · 774 Bytes
/
Makefile
File metadata and controls
25 lines (22 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
regenerate:
npm run codegen
graph build --network localhost
npm run build
npm run remove-local
npm run create-local
npm run deploy-local
sub:
npm run remove-local
npm run create-local
npm run deploy-local
# To launch these commands, you need first to auth with the graph-cli and the subgraph
## Mumbai hosted subgraph: https://thegraph.com/hosted-service/subgraph/talentlayer/talent-layer-mumbai
deploy-mumbai:
graph codegen
graph build --network mumbai
graph deploy --product hosted-service talentlayer/talent-layer-mumbai
## Mumbai hosted subgraph: https://thegraph.com/hosted-service/subgraph/talentlayer/talentlayer-polygon
deploy-matic:
graph codegen
graph build --network matic
graph deploy --product hosted-service talentlayer/talentlayer-polygon