forked from TalentLayer/talentlayer-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (26 loc) · 901 Bytes
/
Makefile
File metadata and controls
30 lines (26 loc) · 901 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
26
27
28
29
30
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 yashgo0018/proof-of-picture
## 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 yashgo0018/proof-of-picture
deploy-celo:
graph codegen
graph build --network celo-alfajores
graph deploy --product hosted-service yashgo0018/proof-of-picture