-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
64 lines (45 loc) · 1.61 KB
/
Copy pathjustfile
File metadata and controls
64 lines (45 loc) · 1.61 KB
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
58
59
60
61
62
63
64
note-db-connection := 'postgresql://notopiauit:notopiauit@localhost:5433/note?sslmode=disable'
all parallel="4" exclude="tag:scope:docs":
pnpm exec nx run-many -t lint typecheck build gen bundle --parallel={{ parallel }} --exclude={{ exclude }}
prod-svcs *args="--append":
tmuxinator start -p ./.tmuxinator/services-prod.yaml {{ args }}
dev-svcs *args="--append":
tmuxinator start -p ./.tmuxinator/services-dev.yaml {{ args }}
lazydocker COMPOSE_PROFILES="*":
COMPOSE_PROFILES={{ COMPOSE_PROFILES }} lazydocker
docker-up:
docker compose \
up \
-d
docker-up-monitoring:
docker compose \
--profile="monitoring" \
up \
-d
docker-stop-all:
docker compose \
--profile="*" \
stop
export-authentik-blueprint:
docker exec notopia-authentik_worker ak export_blueprint
shadcnadd component:
pnpm exec shadcn add {{ component }} -c ./packages/ui/
seed-init: seed-init-note seed-init-document seed-init-search
seed-init-note: prepare-seed-note seed-note
seed-init-document: prepare-seed-document seed-document
seed-init-search: prepare-seed-search seed-search
seed-note db-connection=note-db-connection: prepare-seed-note
psql {{ db-connection }} \
-f ./internal/notecreateseed/seed.sql \
-f ./internal/notecreateseed/seed.gen.sql
prepare-seed-note:
nx run note:goose:up
go run ./cmd/notecreateseed/...
seed-document:
nx run document:typeorm-extension:seed
prepare-seed-document:
go run ./apps/document/database/transform-data.go
seed-search:
nx run search-worker:seed
prepare-seed-search:
nx run search-worker:seed:transform