generated from subsquid-labs/squid-frontier-evm-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
48 lines (26 loc) · 703 Bytes
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
process: migrate
@node -r dotenv/config lib/processor.js
serve:
@npx squid-graphql-server
migrate:
@npx squid-typeorm-migration apply
migration:
@npx squid-typeorm-migration generate
build:
@npm run build
codegen:
@npx squid-typeorm-codegen
typegen: moonbeamVersions.json
@npx squid-substrate-typegen typegen.json
moonbeamVersions.json:
@make explore
explore:
@npx squid-substrate-metadata-explorer \
--chain wss://wss.api.moonriver.moonbeam.network \
--archive https://moonriver-beta.indexer.gc.subsquid.io/v4/graphql \
--out moonbeamVersions.json
up:
@docker-compose up -d
down:
@docker-compose down
.PHONY: process serve start codegen migration migrate up down