/dapr-othello

Primary LanguagePythonMIT LicenseMIT

How to run

  1. Install docker, kubernetes and dapr
  2. Initialize dapr on kubernetes cluster
  3. Build docker images (images were not pushed to DockerHub)
    • docker build -t othello/front:latest -f front/prod.Dockerfile .
    • docker build -t othello/board:latest -f board/prod.Dockerfile .
    • docker build -t othello/cp:latest -f cp/prod.Dockerfile .
  4. Apply manifests (skip the redis settings for dapr as we don't use it)
    • kubectl apply -f manifests
    • kubectl port-forward service/othello-front 3000:80

Development for application without dapr

  1. Install docker and docker-compose
  2. Uncomment entrypoint and run below command
    • docker-compose up -d --build

Related Repository

Use this souce code as computer Lv3