@@ -23,20 +23,21 @@ install-nfc:
2323 uv sync --extra nfc
2424
2525# Install web client dependencies
26+ [working-directory : ' web_client' ]
2627[group (' Python Environment & Dependencies' )]
2728install-web :
28- cd web_client && yarn install
29+ yarn install
2930
3031# Install dashboard dependencies
32+ [working-directory : ' dashboard' ]
3133[group (' Python Environment & Dependencies' )]
3234install-dashboard :
33- cd dashboard && uv sync
35+ uv sync
3436
3537# Install all project dependencies (Python with all extras, web, dashboard)
3638[group (' Python Environment & Dependencies' )]
37- install-all :
39+ install-all : install-web
3840 uv sync --all-extras
39- cd web_client && yarn install
4041
4142# Run the main CocktailBerry Qt application (v1)
4243[group (' Running Applications' )]
4950 uv run fastapi dev ./ src/ api/ api.py
5051
5152# Run the web client development server
53+ [working-directory : ' web_client' ]
5254[group (' Running Applications' )]
5355web :
54- cd web_client && yarn dev
56+ yarn dev
5557
5658# Run the dashboard backend
59+ [working-directory : ' dashboard/backend' ]
5760[group (' Running Applications' )]
5861dashboard-backend :
59- cd dashboard / backend && uv run main.py
62+ uv run main.py
6063
6164# Run the dashboard frontend
65+ [working-directory : ' dashboard/frontend' ]
6266[group (' Running Applications' )]
6367dashboard-frontend :
64- cd dashboard / frontend && uv run index.py
68+ uv run index.py
6569
6670# Compile all Qt UI files to Python
6771[unix, group(' Qt UI Development' )]
@@ -89,44 +93,52 @@ qt-styles:
8993 uv run qtsass ./ src/ ui/ styles/ -o ./ src/ ui/ styles/
9094
9195# Build the web client for production
96+ [working-directory : ' web_client' ]
9297[group (' Web Client' )]
9398web-build :
94- cd web_client && yarn build
99+ yarn build
95100
96101# Build the web client for demo
102+ [working-directory : ' web_client' ]
97103[group (' Web Client' )]
98104web-build-demo :
99- cd web_client && yarn build-demo
105+ yarn build-demo
100106
101107# Fix web client linting issues
108+ [working-directory : ' web_client' ]
102109[group (' Web Client' )]
103110web-lint :
104- cd web_client && yarn lint:fix
111+ yarn lint:fix
105112
106113# Fix web client formatting issues
114+ [working-directory : ' web_client' ]
107115[group (' Web Client' )]
108116web-format :
109- cd web_client && yarn format:fix
117+ yarn format:fix
110118
111119# Fix all web client issues
120+ [working-directory : ' web_client' ]
112121[group (' Web Client' )]
113122web-check :
114- cd web_client && yarn check:fix
123+ yarn check:fix
115124
116125# Run Storybook for component development
126+ [working-directory : ' web_client' ]
117127[group (' Web Client' )]
118128web-storybook :
119- cd web_client && yarn storybook
129+ yarn storybook
120130
121131# Build Storybook
132+ [working-directory : ' web_client' ]
122133[group (' Web Client' )]
123134web-storybook-build :
124- cd web_client && yarn build-storybook
135+ yarn build-storybook
125136
126137# Preview the built web client
138+ [working-directory : ' web_client' ]
127139[group (' Web Client' )]
128140web-preview :
129- cd web_client && yarn preview
141+ yarn preview
130142
131143# Run all Python code quality checks (lint, format, typecheck)
132144[group (' Code Quality' )]
@@ -191,21 +203,25 @@ docker-down:
191203 docker compose down
192204
193205# Build and start microservice
206+ [working-directory : ' microservice' ]
194207[group (' Docker' )]
195208microservice-up :
196- cd microservice && docker compose -f docker-compose.local.yaml up --build --detach
209+ docker compose -f docker-compose.local.yaml up --build --detach
197210
198211# Stop microservice
212+ [working-directory : ' microservice' ]
199213[group (' Docker' )]
200214microservice-down :
201- cd microservice && docker compose -f docker-compose.local.yaml down
215+ docker compose -f docker-compose.local.yaml down
202216
203217# Build and start dashboard services
218+ [working-directory : ' dashboard' ]
204219[group (' Docker' )]
205220dashboard-up :
206- cd dashboard && docker compose -f docker-compose.both.yaml up --build --detach
221+ docker compose -f docker-compose.both.yaml up --build --detach
207222
208223# Stop dashboard services
224+ [working-directory : ' dashboard' ]
209225[group (' Docker' )]
210226dashboard-down :
211- cd dashboard && docker compose -f docker-compose.both.yaml down
227+ docker compose -f docker-compose.both.yaml down
0 commit comments