Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
/ shiny-server Public archive

A collection of Shiny Apps hosted on our shiny server. The apps can be accessed by browser within the UZH network.

License

Notifications You must be signed in to change notification settings

medvir/shiny-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lifecycle: deprecated

Shiny Server on UZH ScienceCloud

Deprecation notice

This repository holds all old shiny apps when we had this one repository for all apps.
In the meantime all apps are contained in their own repository to better keep them apart and develop them individually.

Installation

I created an open source shiny server on ScienceCloud. The IP is 172.23.175.116, shiny server uses the port 3838. It should be accessible within the University of Zurich network.

((Permissions: user ubuntu, group shiny))

There is an image called "shiny server 170928" in ScienceCloud in case we have to restart the instance. This are the instruction I followed to install the server: https://www.rstudio.com/products/shiny/download-server/

R packages can be installed with the following commands:
sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('tidyverse', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('cowplot', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('seqinr', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('shinythemes', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('knitr', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('rmarkdown', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('DT', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('ape', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('plotly', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('readxl', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('janitor', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('gt', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('webshot', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('tinytex', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('gghighlight', repos='https://cran.rstudio.com/')\""

To be able to save a gt table, install phantomJS according following installation description.

I also installed TinyTeX as shiny user (the tinytex R package has to be installed):

sudo su - shiny
R -e 'tinytex::install_tinytex()'

In case the shiny server has to be re-started:
sudo systemctl start shiny-server
sudo systemctl status shiny-server

Deployment of shiny apps

Shiny apps can be put into in a new directory in this repository and synchronized with /srv/shiny-server/ on the ScienceCloud shiny server.   ssh [email protected]

Web adress

http://172.23.175.116:3838 or http://172.23.175.116:3838/folder_name/app_name

About

A collection of Shiny Apps hosted on our shiny server. The apps can be accessed by browser within the UZH network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages