Skip to content

Latest commit

 

History

History
94 lines (65 loc) · 3.61 KB

index.md

File metadata and controls

94 lines (65 loc) · 3.61 KB

R Shiny App on GCP Cloud Run Demo

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 Build and Deploy to Cloud Run

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:

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