Skip to content

Commit

Permalink
update deployments article
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark02-arcus committed Mar 25, 2024
1 parent 94c96c6 commit ce89c34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion dev/run_dev.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ run_app(pre_auth_user = 'admin')
# # turn off any options
# options(shiny.autoload.r=NULL)


2 changes: 1 addition & 1 deletion vignettes/Deployment.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ On Posit Connect, you need to use an absolute path to specify the directory wher

<br>

Beyond that, it's important to note that we strongly encourage those deploying the app to take advantage of the `renv.lock` file used to maintain package version dependencies. For more information on how to use `renv.lock` and our general dev philosophy as it pertains to package management, please read the ["Using `renv`"](https://pharmar.github.io/riskassessment/articles/dev_renv.html) article. Highly related, we encourage the use of git-backed deployment when possible. So, immediately after you update/sync your package dependencies using `renv`, you may want to run `rsconnect::writeManifest()` before deploying from a dedicated branch. For more information on git-backed deployment & manifest files, please read the Posit article on [git-backed content](https://docs.posit.co/connect/user/git-backed/).
Beyond that, it's important to note that we strongly encourage those deploying the app to take advantage of the `renv.lock` file used to maintain package version dependencies. For more information on how to use `renv.lock` and our general dev philosophy as it pertains to package management, please read the ["Using `renv`"](https://pharmar.github.io/riskassessment/articles/dev_renv.html) article. Highly related, we encourage the use of git-backed deployment when possible. So, immediately after you update/sync your package dependencies using `renv`, you may want to run `rsconnect::writeManifest()` before deploying from a dedicated branch. For convenience, we maintain a current `manifest.json` that should follow the `renv.lock` file in our GitHub repo. So, if you've forked the application, you should be able to deploy the latest version of the app as-is, directly from our `master` branch. For more information on git-backed deployment & manifest files, please read the Posit article on [git-backed content](https://docs.posit.co/connect/user/git-backed/).

<br>

Expand Down

0 comments on commit ce89c34

Please sign in to comment.