-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
46 lines (36 loc) · 1.34 KB
/
Makefile
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
45
46
# Clean minikube
minikube-clean:
-minikube delete
minikube start
minikube addons enable ingress
# Start-dev from scratch
start-dev:
$(MAKE) minikube-clean
kubectl expose deployment ingress-nginx-controller --target-port=80 --type=NodePort -n kube-system
$(MAKE) k-secrets
skaffold dev
k-secrets:
kubectl create secret generic jwt-secret --from-literal=JWT_KEY=jwthash123
kubectl create secret generic stripe-secret --from-env-file=./.stripe-secret.env
npm-i-all:
npx recursive-install
# Just publish common package and push code modifications from common/ to the repo
pub-common:
@echo "Publish and push common package changes"
cd common/ ; npm run pub
sync-common-all: sync-common-auth sync-common-tickets sync-common-orders sync-common-expiration sync-common-payments
# Reinstall the common pkg from the private npm repo
sync-common-auth:
cd auth/ ; npm i @applinh/mcta-common
# Reinstall the common pkg from the private npm repo
sync-common-tickets:
cd tickets/ ; npm i @applinh/mcta-common
# Reinstall the common pkg from the private npm repo
sync-common-orders:
cd orders/ ; npm i @applinh/mcta-common
# Reinstall the common pkg from the private npm repo
sync-common-expiration:
cd expiration/ ; npm i @applinh/mcta-common
# Reinstall the common pkg from the private npm repo
sync-common-payments:
cd payments/ ; npm i @applinh/mcta-common