forked from kodadot/rubick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
57 lines (40 loc) · 825 Bytes
/
Copy pathjustfile
File metadata and controls
57 lines (40 loc) · 825 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
process: build
node -r dotenv/config lib/processor.js
serve:
npx squid-graphql-server
up:
docker compose up
pull:
docker compose pull
clear:
docker compose rm -f
rm -rf .data
down:
docker compose down
build:
npm run build
codegen:
npx sqd codegen
typegen: ksmVersion
npx squid-substrate-typegen typegen.json
ksmVersion: explore
explore:
npx squid-substrate-metadata-explorer \
--chain wss://kusama-rpc.polkadot.io \
--archive https://kusama.indexer.gc.subsquid.io/v4/graphql \
--out kusamaVersions.json
bug: down up
reset:
npx sqd db drop
npx sqd db create
npx sqd db:migrate
migrate:
@npx sqd db:migrate
update NAME:
npx sqd db:create-migration "{{NAME}}"
test:
npm run test:unit
release TAG:
npx sqd squid:release rubick@{{TAG}}
kill TAG:
npx sqd squid:kill "rubick@{{TAG}}"