-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yml
More file actions
44 lines (38 loc) · 1.32 KB
/
Taskfile.yml
File metadata and controls
44 lines (38 loc) · 1.32 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
version: "3"
dotenv: ['.env', '{{.ENV}}/.env', '{{.HOME}}/.env']
includes:
data: ./apps/servers/data_service/Taskfile.data.yml
inference: ./apps/servers/inference_bridge/server/Taskfile.inference.yml
studio: ./apps/frontend/graphcap_studio/Taskfile.studio.yml
db: ./packages/datamodel/Taskfile.datamodel.yml
build: ./deploy/Taskfile.build.yml
models: ./packages/model_runners/Task.models.yml
tasks:
dev:
desc: Start the Docker Compose services in watch mode
cmds:
- docker compose --env-file ./workspace/config/.env up --watch --build
start:
desc: Start the Docker Compose services
cmds:
- docker compose --env-file ./workspace/config/.env up -d
stop:
desc: Stop the Docker Compose services
cmds:
- docker compose --env-file ./workspace/config/.env down
setup:
desc: Setup the project
cmds:
- cmd: cp ./workspace/config/.env.template ./workspace/config/.env
platforms: [linux, darwin]
- cmd: cmd /c copy .\\workspace\\config\\.env.template .\\workspace\\config\\.env
platforms: [windows]
- task: build:bases
storybook:
desc: Start the Storybook server
cmds:
- pnpm run --filter @graphcap/ui storybook
manager:
desc: Start the manager
cmds:
- pnpm run --filter @graphcap/manager dev