git clone https://github.com/kkinugasa/pyreversi.git
poetry install
poetry add git+https://github.com/kkinugasa/pyreversi.git
pip install git+https://github.com/kkinugasa/pyreversi.git
After pulling this repo and running poetry install
, run the command:
poetry run mkdocs serve
Then access http://127.0.0.1:8888
python -m pyreversi
Build
make docker
Play
export VERSION=$(sed -n 's/__version__ = "\(.*\)"/\1/p' pyreversi/_version.py)
docker run --rm -it pyreversi:$VERSION python -m pyreversi
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