You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gen-ai/Makefile
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ include ${ENV_FILE}
17
17
export$(shellsed's/=.*//'${ENV_FILE})
18
18
endif
19
19
20
-
.PHONY: help dev-install-dependencies dev-frontend dev-bff dev-start clean clean-all
20
+
.PHONY: help dev-install-dependencies dev-frontend dev-bff dev-start dev-start-no-portforward dev-portforward clean clean-all
21
21
22
22
help: ## Display this help message
23
23
@echo "Available commands:"
@@ -33,7 +33,7 @@ dev-bff-mock: ## Run only the bff in development mode
33
33
34
34
.PHONY: dev-bff
35
35
dev-bff:
36
-
cd bff && LLAMA_STACK_URL=${LLAMA_STACK_URL} AUTH_TOKEN=user_token AUTH_TOKEN_HEADER=Authorization AUTH_TOKEN_PREFIX="Bearer " make run STATIC_ASSETS_DIR=../frontend/dist
36
+
cd bff &&MAAS_URL=${MAAS_URL} DISTRIBUTION_NAME=${DISTRIBUTION_NAME}LLAMA_STACK_URL=${LLAMA_STACK_URL} AUTH_TOKEN=user_token AUTH_TOKEN_HEADER=Authorization AUTH_TOKEN_PREFIX="Bearer " make run STATIC_ASSETS_DIR=../frontend/dist
37
37
38
38
39
39
.PHONY: dev-frontend
@@ -44,8 +44,22 @@ dev-frontend: ## Run only the frontend in development mode
44
44
dev-start-mock: ## Run both frontend and bff in development mode
45
45
make -j 2 dev-bff-mock dev-frontend
46
46
47
+
.PHONY: dev-portforward
48
+
dev-portforward: ## Start port-forwarding in separate terminals
0 commit comments