Deploy a brilliant batch application on a brilliant server

When a brilliant application is configured for a brilliant server

+---/srv/shiny-server
|   +---shinyApp1
|       +---server.R
|       +---ui.R

everything works perfectly. However, how can I do the same if the above files ( ui.R, server.R) are included in the package folder inst/shiny server.R? (see, for example, my gridsampler repository ).

How to deploy a packaged brilliant app on a brilliant server?

+5
source share
2 answers

You can do what I do.

, setwd() shinyAppDir(".").

:


2,5 : , , global.R - github https://github.com/rstudio/shiny/issues/1063

- global.R

+6

GitHub shiny-server inst/shiny, . gridsampler ( URL). , , URL, .

- inst/shiny gridsampler, afaik , .

+2

Source: https://habr.com/ru/post/1651939/


All Articles