Vasim
Vasim

Reputation: 3143

Shiny apps folder on Ubuntu

After going through this and other shinyserver tutorial, I'm able to reach at this point.

enter image description here

And when I click the sample_apps/hello/ example link, I reach here.

enter image description 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?

enter image description here

I am using Putty to login to the server terminal.

Upvotes: 0

Views: 819

Answers (1)

Federico Cupellini
Federico Cupellini

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

Related Questions