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.
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
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]
http://172.23.175.116:3838 or http://172.23.175.116:3838/folder_name/app_name