Skip to content

Commit

Permalink
Removed ui from build
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBeydoun committed May 21, 2020
1 parent 4920271 commit 733a145
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
20 changes: 7 additions & 13 deletions build/Makefile
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
11 changes: 0 additions & 11 deletions build/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,3 @@ services:
links:
- wisp-users
- wisp-problems
wisp-ui:
image: competemcgill/wisp-ui:latest
container_name: wisp-ui
environment:
- VUE_APP_WISP_API_URL=http://localhost:3000
ports:
- 80:80
links:
- wisp-gateway
- wisp-users
- wisp-problems

0 comments on commit 733a145

Please sign in to comment.