deploy_shiny.Rd
This function deploys a selected Shiny
application (xai2shiny
application) to the created droplet.
deploy_shiny( droplet, directory, packages = "stats", port = 80, browse = TRUE, ssh_user = "root" )
droplet | the droplet's id or droplet's object. The IP can be checked by running |
---|---|
directory | path to the directory containing |
packages | vector of packages (package names) that are needed for the application to run. |
port | port at which the application will run. |
browse | a boolean, which indicates whether open the app on the web after deploying |
ssh_user | the name of ssh console user, should NOT be modified when using the default xai2shiny cloud_setup |