As I continue to convert more of my apps to {golem}, I found one area that I'm not quite sure how to handle. Some of my apps deployed on an internal Shiny Server Pro had to connect to some kind of service (say API or database) and my solution was to create a .Renviron in the app's root directory with the credentials, and ensure that the file was not tracked by Git, yet it would be included in the app deployment. If I convert one of these apps to {golem}, is it recommended to take a similar approach? Or should I try using a custom option instead?
As I continue to convert more of my apps to {golem}, I found one area that I'm not quite sure how to handle. Some of my apps deployed on an internal Shiny Server Pro had to connect to some kind of service (say API or database) and my solution was to create a
.Renvironin the app's root directory with the credentials, and ensure that the file was not tracked by Git, yet it would be included in the app deployment. If I convert one of these apps to {golem}, is it recommended to take a similar approach? Or should I try using a customoptioninstead?