-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4920271
commit 733a145
Showing
2 changed files
with
7 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
.PHONY: start start-api start-problems start-users forward-problems forward-users | ||
|
||
start: | ||
@echo "Starting local dev server..." | ||
@echo "UI: http://localhost:8080" | ||
@echo "API: http://localhost:3000" | ||
@docker-compose up | ||
.PHONY: start-api start-problems start-users forward-problems forward-users | ||
|
||
start-api: | ||
@echo "Starting local dev server without UI..." | ||
@echo "API: http://localhost:3000" | ||
@docker-compose up --scale wisp-ui=0 | ||
@docker-compose up | ||
|
||
start-problems: | ||
@echo "Starting local problems server..." | ||
@echo "Problems API: http://localhost:3001" | ||
@docker-compose up --scale wisp-ui=0 --scale wisp-gateway=0 --scale wisp-users=0 | ||
@docker-compose up --scale --scale wisp-gateway=0 --scale wisp-users=0 | ||
|
||
start-users: | ||
@echo "Starting local problems server..." | ||
@echo "Starting local users server..." | ||
@echo "Problems API: http://localhost:3001" | ||
@echo "Users API: http://localhost:3002" | ||
@docker-compose up --scale wisp-ui=0 --scale wisp-gateway=0 | ||
@docker-compose up --scale --scale wisp-gateway=0 | ||
|
||
forward-problems: | ||
@echo "Forwarding port 3001 to problems microservice..." | ||
@kubectl port-forward -n prod deploy/wisp-problems 3001:3000 | ||
@kubectl port-forward -n dev deploy/wisp-problems 3001:3000 | ||
|
||
forward-users: | ||
@echo "Forwarding port 3002 to users microservice..." | ||
@kubectl port-forward -n prod deploy/wisp-users 3002:3000 | ||
@kubectl port-forward -n dev deploy/wisp-users 3002:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters