Reputation: 3143
After going through this and other shinyserver tutorial, I'm able to reach at this point.
And when I click the sample_apps/hello/
example link, I reach here.
RStudio also works fine, but where do I put my shiny apps so that I can share them. The tutorial suggest to store apps at /srv/shiny-server/
, however this folder cannot be found.
Any help, do I need to write some code in terminal to activate/make the folders visible?
I am using Putty to login to the server terminal.
Upvotes: 0
Views: 819
Reputation: 23
/srv/shiny-server/ is in the root of your filesystem.
If you want to serve shiny apps from your home directory you need to follow the instructions
From the shiny server guide:
run_as :HOME_USER:;
# Define the root location
location / {
user_dirs;
# Only allow members of the 'shinyUsers' group to host personal applications.
members_of shinyUsers;
}
Upvotes: 1