dev/03_deploy.R

# Building a Prod-Ready, Robust Shiny Application.
# 
# README: each step of the dev files is optional, and you don't have to 
# fill every dev scripts before getting started. 
# 01_start.R should be filled at start. 
# 02_dev.R should be used to keep track of your development during the project.
# 03_deploy.R should be used once you need to deploy your app.
# 
# 
######################################
#### CURRENT FILE: DEPLOY SCRIPT #####
######################################

# Test your app

## Run checks ----
## Check the package before sending to prod
devtools::check()
rhub::check_for_cran()

# Deploy

## Docker ----
golem::add_dockerfile(
  output = "docker/Dockerfile_new", 
  from = "rocker/shiny-verse:3.6.3",
  port = 3838, 
  sysreqs = TRUE, 
  expand = TRUE,
  repos = 'https://cran.rstudio.com/'
)
MazamaScience/AirSensorDataViewer documentation built on April 2, 2021, 12:24 a.m.