-
Notifications
You must be signed in to change notification settings - Fork 6
/
Justfile
47 lines (47 loc) · 940 Bytes
/
Justfile
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
default:
just -l
up:
docker compose up -d
just logs
stop:
docker compose stop
kill:
docker compose kill
down:
docker compose down -v
logs:
docker compose logs -f --since=1m
ps:
docker compose ps
psa:
docker compose ps -a
prune-nm:
find . -type d -name node_modules -exec sudo rm -rvf {} \;
sh-pnpmi:
docker compose run --entrypoint /bin/sh pnpmi
api:
docker compose up -d api
docker compose logs -f api --since=1s
api-logs:
docker compose logs -f api --since=1m
api-restart:
docker compose kill api
just api
indexer:
docker compose up -d indexer
docker compose logs -f indexer --since=1s
indexer-restart:
docker compose kill indexer
just indexer
psql:
docker compose exec -u postgres postgres psql
cli:
docker compose run api -c "./undexer repl"
repl:
docker compose run api -c "./undexer repl"
push:
git push -u github
git push -u origin
fpush:
git push -fu github
git push -fu origin