Skip to content

fvonhoven/ticketing

Repository files navigation

Installation

Docker

Kubernetes Setup

  • Create kubectl secrets

    • kubectl create secret generic jwt-secret --from-literal=JWT_KEY= -- any string right now
    • kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY= -- from stripe developer dashboard
  • Install ingress-nginx in ticketing/ with kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.5.1/deploy/static/provider/cloud/deploy.yaml

  • Apply kubernetes in ticketing/infra/k8s with kubectl apply -f .

  • Apply kubernetes in ticketing/infra/k8s-dev with kubectl apply -f .

Skaffold

Node Modules

  • Install packages in all services (TODO: write a script to handle this)
    • npm i
      • /auth
      • /client
      • /expiration
      • /orders
      • /payments
      • /tickets

Enable forwarding of localhost

  • update hosts file to forward localhost to ticketing.dev

    • code /etc/hosts
      • add 127.0.0.1 ticketing.dev at end of file
    • save file as sudo user

Run locally

  • skaffold dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published