Skip to content

Demonstration of CI/CD Docker Deployment to GCP Cloud Run for R Shiny App

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

noclocks/demo-rshiny-cloudrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

R Shiny App on GCP Cloud Run Demo

Deployed Shiny App

Changelog · Documentation · Docker Containers

R Shiny Google Cloud Run

Typing SVG


Note

This is an R package built by No Clocks, LLC for demonstration purposes. It aims to showcase how to develop and deploy an R Shiny app as a package to Google Cloud Platform's (GCP) Cloud Run service using Docker.


Contents

Badges

Lifecycle: experimental Build and Push to GHCR R CMD Check Test Coverage Code Style Lint Dependabot Updates Document (Roxygen) pages-build-deployment pkgdown Pkgdown Multi

Overview

This repository contains an R package that demonstrates how to build and deploy an R Shiny app to Google Cloud Platform's (GCP) Cloud Run service using Docker.

Installation

You can install the development version of rshinycloudrun from GitHub with your preferred installation method below:

Warning

Notice that although the R package is named rshinycloudrun, the GitHub repository is named demo-rshiny-cloudrun. This is for internal organization purposes and should not affect the installation process.

# Install using remotes
remotes::install_github("noclocks/demo-rshiny-cloudrun")

# Or using devtools
devtools::install_github("noclocks/demo-rshiny-cloudrun")

# Or using pak
pak::pkg_install("noclocks/demo-rshiny-cloudrun")

Usage

Once installed, you can load the package and run the Shiny app using the following commands:

library(rshinycloudrun)
run_app()

Deployment

The package is set up to build and deploy the R Shiny app to Google Cloud Platform's (GCP) Cloud Run service using Docker.

Pre-Requisites

  1. Google Cloud Platform (GCP) Account
  2. Docker Desktop
  3. R
  4. RStudio
  5. R Shiny
  6. Google Cloud SDK
  7. Google Cloud Run

Code of Conduct

Please note that the rshinycloudrun package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


© 2024 No Clocks, LLC