Milesjpool / kahd

Card games API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

kahd

Open-source card games web-service including:

  • Kahd-API (WIP)

Requirements

Setup

  1. Clone this repository
  2. Install dependencies
  3. Login to Google Cloud CLI gcloud auth login
  4. In the kahd-api directory, run ./gradlew
  5. Run ./kahd-api/setup-cluster.sh to set-up a gcloud cluster

Building & Running the API locally

  1. From the repository root, run make start-local

Deploying the API

  1. Increment the API version in kahd-api/VERSION (if required)
  2. Push changes to master and Travis will take it from there.

TravisCI

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).

Useful resources

About

Card games API

License:GNU General Public License v3.0


Languages

Language:Kotlin 71.9%Language:Makefile 18.5%Language:Shell 9.6%