How to set up a Shiny app launcher
info
This how-to guide will configure a Shiny app to run in a Renku session (using R version 4.2.0).
- Add a session launcher to your Renku project with the following Custom Environment option as explained in How to use your own docker image for a Renku session considering the following parameters:
-
Container Image:
http://registry.renkulab.io/bethcg/shiny-launcher-project:acb9b74 -
Default URL:
/shiny/work/<*path-to-app>*/where
*<path-to-app>*should be the path to the folder of the file starting the Shiny app.Make sure to include
/shiny/work/at the beginning and the slash at the end!
-
You can now start a session with your new shiny launcher to access the shiny app directly in your browser.