Skip to contents

This function orchestrates the deployment of the SampleDB environment, database, and Shiny server based on user preferences. The function calls appropriate helper functions to achieve each of these steps.

Usage

SampleDB_Setup(
  env = TRUE,
  db = TRUE,
  server = TRUE,
  reset_env_variables = FALSE
)

Arguments

env

Logical flag indicating whether to setup the environment. Defaults to TRUE.

db

Logical flag indicating whether to setup the database. Defaults to TRUE.

server

Logical flag indicating whether to deploy the Shiny server. Defaults to TRUE.

Value

NULL (The function is primarily called for its side effects).

Examples

if (FALSE) { # \dontrun{
  SampleDB_Setup(env = TRUE, db = TRUE, server = TRUE)
} # }