Skip to content

kkinugasa/pyreversi

Repository files navigation

PyReversi

Code style: black coverage badge

Setup

Install from this source code

git clone https://github.com/kkinugasa/pyreversi.git
poetry install

Install with poetry

poetry add git+https://github.com/kkinugasa/pyreversi.git

Install with pip

pip install git+https://github.com/kkinugasa/pyreversi.git

Documentation

After pulling this repo and running poetry install, run the command:

poetry run mkdocs serve

Then access http://127.0.0.1:8888

Play

python -m pyreversi

Docker

Build

make docker

Play

export VERSION=$(sed -n 's/__version__ = "\(.*\)"/\1/p' pyreversi/_version.py)
docker run --rm -it pyreversi:$VERSION python -m pyreversi

Kubernetes

Create cluster

kind create cluster --config kind.yaml

Deploy

skaffold run

Play

export PYREVERSI_POD=$(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
kubectl exec -it $PYREVERSI_POD -- python -m pyreversi

Delete cluster

skaffold delete
kind delete cluster

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published