Skip to content

sanpezlo/chess

Repository files navigation

Chess

Multiplayer simple chess project

Prerequisites

Setup

  1. Run the following command to install the mkcert root CA and generate a new SSL certificate for the chess.localhost domain:
mkcert -install

mkcert -cert-file traefik/certs/local-cert.pem -key-file traefik/certs/local-key.pem "chess.localhost" "*.chess.localhost"
  1. Create a Docker network for Traefik:
docker network create chess-dev-traefik-net

Development

Start the project by running the following command:

docker-compose -f docker-compose.dev.yml up

you can access the client application in your web browser at client.chess.localhost.

Developers may also use devcontainers to further streamline their development process. Devcontainers is a feature of Visual Studio Code that allows you to develop in a containerized environment.