chiru1221 / dapr-othello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Python 64.8%Language:TypeScript 15.2%Language:Go 12.1%Language:Dockerfile 2.8%Language:JavaScript 2.3%Language:HTML 1.7%Language:CSS 0.9%Language:Shell 0.1%