Coder Social home page Coder Social logo

shinyprod's Introduction

shinyprod

{shinyprod} is a companion package for the Building Production-Quality Shiny Applications workshop at rstudio::conf(2022). More information on the workshop can be found at shinyprod.com. The goal of the package is to let workshop attendees easily deploy Shiny applications built during the workshop exercises and other coding sessions using one function called shinyprod_deploy(). This function can also be executed by selecting the Deploy Shiny App add-in from the RStudio Addins menu.

Important Note

Please note that this package is very specific to using infrastructure such as RStudio Cloud and RStudio Connect that was specifically created for the workshop.

Installation

For workshop attendees, this package will be automatically included in the project environment used within RStudio Cloud. If you are using your own installation of R on a local machine, you can install the development version of {shinyprod} from GitHub with:

# install.packages("remotes")
remotes::install_github("rpodcast/shinyprod")

Environment Variables Setup

The package will not be able to deploy applications without the user establishing an account on the workshop RStudio Connect server. After the account is created and an account API key is created (instructions will be provided during the workshop), you will need to create a file called .Renviron within the workshop project's root directory with variables called CONNECT_SERVER and CONNECT_API_KEY. The file should follow this structure (substitute the provided workshop server and your account API key as appropriate):

CONNECT_SERVER="https://workshop-server.com"
CONNECT_API_KEY="abcdefghijklmnopqrstuvwxyz"

shinyprod's People

Contributors

rpodcast avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.