make_deploy_project: Make a project to deploy / update an application

View source: R/make_deploy_project.R

make_deploy_projectR Documentation

Make a project to deploy / update an application

Description

Opens a copy of this project including only relevant files, from which you can deploy the application to Shinto Labs' Rstudio Connect server.

Usage

make_deploy_project(
  name,
  path = "c:/repos_deploy",
  ignore_dirs = c("scripts", "stubs", "test", "tests", "backup", "docs", "rsconnect",
    ".git", ".Rproj.user"),
  ignore_files = c(".gitignore", ".Rhistory", "[.]Rproj$"),
  extra_files = NULL,
  directories = NULL
)

Arguments

name

Name of the project, normally: client_appname ("eindhoven_kamerverhuur", "riec_rro").

path

Where to make the new project, the project will be created in a subdirectory, given by its name.

ignore_dirs

Directories to ignore, these contain content that should not be uploaded to Rstudio Connect.

ignore_files

Files to ignore (usually these are files in the root, otherwise use ignore_dirs).

extra_files

List of files to include (for example if they were removed in ignore_dirs)

Examples

## Not run: 

# Opens a new project "nederweert_buitengebied", a copy of the current repository
# from which you can deploy to rsconnect (via the deploy button), after removing
# unwanted files (data for other clients, etc.), and setting client-specific
# parameters (for example, in "this_version.yml")
shintoconnect::deploy("nederweert_buitengebied")

## End(Not run)

moturoa/shintoshiny documentation built on Dec. 7, 2023, 2:54 a.m.