-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (29 loc) · 798 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
.DEFAULT_GOAL := reset
reset: stop start dev
start:
supabase start --exclude gotrue,imgproxy,pgadmin-schema-diff,migra,deno-relay,inbucket
npm run migrate
pm2 start "ngrok http --domain=dev.raisemore.app 3000"
dev:
npm run dev
stop:
supabase stop
pkill node || true
pm2 delete all || true
nuke: stop
lint:
npm run lint
test: quick runtestandstop
runtestandstop:
npm run test
pkill node || true
newtest: stop start codegen stop
codegen:
npm run dev &
npx playwright codegen localhost:3000
debugtests: stop start runtestdebugandstop
quick:
psql "postgresql://postgres:postgres@localhost:54322/postgres" -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
psql "postgresql://postgres:postgres@localhost:54322/postgres" -f ./supabase/seed.sql
npm run migrate
npm run dev