Closed GrayAlex49 closed 3 years ago
(Sorry for the delay in responding!)
Sorry, Shiny Server is only designed to serve interactive R markdown documents, that is, ones with runtime: shiny
or runtime: shiny_prerendered
.
What Shiny Server can do is take your rendered bookdown site (i.e. just static HTML files) and serve those up, but at that point, you're better off with a regular static HTTP server, like nginx or Apache.
According to the shiny server docs, an r-markdown with an index (like a bookdown doc) should be served by shiny if its in the /srv/shiny-server/ folder.
I cloned the sample bookdown example and mounted it to a shiny server.
Dockerfile:
Docker Compose:
This should serve the book at localhost/book however I only get a blank page and stdout message:
The file that it creates is not what it should create either.
How can I utilize shiny server to effectively serve app documentation? It seems like this should work.