Open-source card games web-service including:
- Kahd-API (WIP)
- Git
- Google Cloud SDK
- Kubectl:
gcloud components install kubectl
- Kubectl:
- Docker
- Clone this repository
- Install dependencies
- Login to Google Cloud CLI
gcloud auth login
- In the kahd-api directory, run
./gradlew
- Run
./kahd-api/setup-cluster.sh
to set-up a gcloud cluster
- From the repository root, run
make start-local
- Increment the API version in
kahd-api/VERSION
(if required) - Push changes to master and Travis will take it from there.
This repository include a .travis.yml
file to test and deploy the component(s).
Also included is a Travis-encrypted credentials.tar.gz.enc
file (described in this tutorial). This contains:
client-secret.json
(for service-account access to GCloud).