Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donaldrauscher/shiny-farkle
Shiny app for the game of Farkle
https://github.com/donaldrauscher/shiny-farkle
Last synced: about 2 months ago
JSON representation
Shiny app for the game of Farkle
- Host: GitHub
- URL: https://github.com/donaldrauscher/shiny-farkle
- Owner: donaldrauscher
- Created: 2017-10-03T03:47:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T18:00:13.000Z (almost 7 years ago)
- Last Synced: 2024-08-13T07:14:04.829Z (5 months ago)
- Language: R
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - donaldrauscher/shiny-farkle - Shiny app for the game of Farkle (R)
README
About
-----
Shiny app for analyzing the game of [Farkle](http://www.smartboxdesign.com/farklerules.html). My blog post summarizing the app is [here](http://donaldrauscher.com/shiny-on-docker).Infrastructure
-------Create GKE cluster and install [Helm](https://helm.sh) Tiller.
```
export PROJECT_ID=$(gcloud config get-value project -q)
terraform apply -var project=${PROJECT_ID}gcloud container clusters get-credentials shiny-cluster
gcloud config set container/cluster shiny-clusterhelm init
```Deploy Instructions - Manually
-------Build Docker image, push to GCR, and then deploy to GKE cluster using Helm.
``` bash
docker build -t farkle:latest .
docker run --rm -p 3838:3838 farkle:latest # test that it works locallyexport PROJECT_ID=$(gcloud config get-value project -q)
docker tag farkle gcr.io/${PROJECT_ID}/shiny-farkle:latest
gcloud docker -- push gcr.io/${PROJECT_ID}/shiny-farkle
gcloud container images list-tags gcr.io/${PROJECT_ID}/shiny-farklehelm upgrade --install --set projectId=${PROJECT_ID} shiny-farkle .
```Deploy Instructions - Google Container Builder
-------NOTE: For this approach, you will need to add a Helm cloud-builder step to your GCR. Instructions for this [here](https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/helm).
NOTE: You will also need to add "Kubernetes Enginer Developer" role to your GCB service account so that it can fetch cluster credentials.
``` bash
gcloud container builds submit --config cloudbuild.yaml .
```