nolanlab / scaffold

scaffold
18 stars 8 forks source link

Running in Shiny Server #4

Closed serverhorror closed 9 months ago

serverhorror commented 7 years ago

Hello,

I'm not able to find any kind of guide to run/deploy scaffold within a Shiny server to provide groups of users with an entry point on a managed environment.

Am I overlooking this or is scaffold intended to be single user only running from a development environment?

Thanks, Martin

SamGG commented 7 years ago

Hi, The following is only my opinion. I didn't run Scaffold but I developed some tools on Shiny Server. Usually, there is nothing special to do apart from the what is told on the Shiny Server site. But I feel you must the following points if you did not yet. First, unless you get a paid Shiny server there no user permission and isolation. Second, FCS files are usually uploaded to the application via a Browse button (or so), meaning that the files are transferred over internet. This could lead to timeout. The same is true for the download, and this is also the case when the Shiny application is running locally. Third, to avoid this upload/download overhead, Citrus (I didn't look yet in Scaffold) asks to point a folder or something like that in order to know where the files are located. You will not be able to make such behaviour run a on server. In fact, what we did in our case is to use the ShinyFiles package. Locally, you get the path of the files. On a Shiny server, with the same code, the user can point a network share. A quick workaround would be to replaced the input file location with an input text in which the user could paste the network path of the files. That's just my two cents.

serverhorror commented 7 years ago

I'm aware of these things. It is just that I believe the documentation is missing this.

The operational tasks are not a problem assuming the applicaiton has been written to properly run inside a server and multi-user environment.

You are correct assuming that, without tricks, the Shiny Server Community Edition is not able to do authentication/authorization. One needs to deal with those things manually.

SamGG commented 7 years ago

Hi Martin, Sorry for telling points you already know. Let me know any pointer concerning the special care of writing an application "to properly run inside a server and multi-user environment" in comparison to a Shiny desktop one. If you have time to contribute in improving the software, the community will thank you. Best.

serverhorror commented 9 months ago

Cleaning up old issues on my profile