There are 2 applications on my server. One is a laravel application with login etc, and the other one is a shiny server with some shiny apps.
The apps are created through my laravel system and in the database is stored who has access to a shiny app.
Laravel is running on: <domain>:80 & <domain>:443
Shiny server is running on: <domain>:3838
What I want to achieve is that users have to be logged in in the laravel application and have access to the shiny app to be able to run the shiny app in the browser.
Is there a way to achieve this? And if yes, what is a good way to go?
Related
I have built an RShiny app where I use a dataset so that the app can display plots. I have a privacy question about deploying this app. When I deploy the app via shinyapps.io, is the dataset then saved on an RShiny server? Or does it use the local datafile? If the latter is the case, should my computer be active then 24/7 for the app to work?
Currently, I have developed a shiny app which works fine on my system and runs on localhost:6000,
Now I want it to be available over the web.
So I am planning to run my app over a virtual machine using AWS, GCP or any cloud service provider and I will mask the port to some web URL.
But I suspect that it won't work as I am not using the shiny-server.
Will It work?
If Not, then are there any alternatives?
I'm not sure if I'm saying this correctly so please feel free to edit the post were need but now that I've created an R Script I know well, I'm learning how to build an interactive web app in R using shiny with the intention of running it on a particular webpage of my website (example.com/shiny-app).
I'm using MotoCMS so I think the only way I could accomplish thus is via the embedd feature. My website is hosted on Godaddy.
With all that being said, is it possible to run a interactive web app in R using Shiny App on GoDaddy hosted MotoCMS Website?
Is there an online tutorial or could someone answer with the step by step process regarding how to run a interactive web app in R using Shiny App on GoDaddy specifically?
If I created a dedicated domain so that I wouldn't have to deal with my CMS but the hosting would still go through GoDaddy, could someone answer with the step by step process regarding how to run a interactive web app in R using Shiny App?
Host your Shiny web app on http://shinyapps.io, then embed the link as a page in your MotoCMS website.
I have a Shiny app that I would like to run on an existing Apache server. I am completely new to servers and don't have much idea of where to start. Unfortunately most of the resources I've found online have been about NGINX and not Apache.
I know something like this is possible, but I am not sure how to start. How can I get started with hosting my own Shiny app on an Apache server?
So you don't run a Shiny app on Apache, Shiny Apps must be run on a Shiny Server. You have several options for deploying a Shiny app to your website. The simplest approach is to publish your app to shinyapps.io then add an IFrame to your website that will display your deployed Shiny app.
Since you have asked about how to run a Shiny App on Apache, I assume you want to deploy your own Shiny Server, which can be deployed on the same machine as your Apache server or on a different machine. Instructions for doing this may be found here: https://www.rstudio.com/products/shiny/download-server/
Once you shiny server is installed you will need to publish your app there. This is accomplished by moving your r files to the appropriate location on your Shiny Server. For details see: http://docs.rstudio.com/shiny-server/#host-a-directory-of-applications-1
Once you have done this and have your app running on Shiny Server, you need to set up Apache(Nginx or another webserver) to act as a proxy to Shiny Server. Here is a link that walks you through the steps: https://support.rstudio.com/hc/en-us/articles/213733868-Running-Shiny-Server-with-a-Proxy
If you have not done this before and do not have experience with Linux or servers, I would expect it to take at least 4 hours.
Apache can't run Shiny.
Alternatively, I suggest a nice and clear tutorial about running the R web app (aka Shiny) using Google cloud. Google cloud offers 300 USD free credit to any new user that I think is good for begninners.
https://www.theorsociety.com/media/3832/data-visualisation-workshop-uploading-a-shiny-app-to-a-server-_14062018122240.pdf
I want to develop a shiny app with login, which later should be hosted on Shinyapps.io (STANDARD).
How can I develope/debug the app locally without having Shiny Server Pro or uploading the app to Shinyapps.io every time.
Running the code displayed here.
I of course get the following message:
ERROR: This application is designed to be run in Shiny Server Pro and to require authentication.