app is called "ticketing"
To setup locally, add urls ticketing.dev
to /etc/hosts
# /etc/hosts
127.0.0.1 ticketing.dev
Add JWT_KEY
used in auth-depl.yaml
kubectl create secret generic jwt-secret --from-literal=JWT_KEY=somesecret
Add STRIPE_KEY
used in payments-depl.yaml
kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY=somesecret
Add STRIPE_PUBLISHABLE_KEY
used in client-depl.yaml
kubectl create secret generic stripe-publishable-key --from-literal=STRIPE_PUBLISHABLE_KEY=somesecret
To bypass chrome security warning, type thisisunsafe
in browser.
If changes in browser do not show, delete client pod and let it regenerate:
kubectl get pods # copy pod name
kubectl delete pod POD_NAME
If there is no connection, run kubectl get pods -n ingress-nginx
to see if ingress nginx has a running pod.
If not, reinstall
# install happens in docker containers
npm run dev
To cleanup all resources:
npm run clean