En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

Commit b63b7765 authored by Midoux Cedric's avatar Midoux Cedric
Browse files

'Shiny server Installation' in README.md

parent 05731a0c
Development of an R-shiny application to quickly and easily analyze 16S data.
# Shiny Server
Easy16S application actualy works on a Open Source Shiny Server.
This is `/etc/shiny-server/shiny-server.conf` :
# Shiny server Installation
Easy16S application actually works on a Open Source Shiny Server.
For shiny server installation, we follow the [Rstudio Guide](http://docs.rstudio.com/shiny-server/).
1. Install and update R, the shiny R package and all the necessary packages
sudo yum install R
sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""
sudo su - -c "R -e \"install.packages('rmarkdown')\""
2. [Download Shiny Server](https://www.rstudio.com/products/shiny/download-server/)
wget https://download3.rstudio.org/centos6.3/x86_64/shiny-server-
3. Install it with `gdebi` or `yum` according to your OS
sudo yum install --nogpgcheck shiny-server-
If necessary, you can stoping or starting the shiny server
sudo systemctl start shiny-server
sudo systemctl stop shiny-server
4. Configure shiny server
For example, this is our `/etc/shiny-server/shiny-server.conf` :
# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;
......@@ -26,3 +54,9 @@ server {
5. Deploy application with a `git clone` in `/srv/shiny-server/`
cd /srv/shiny-server/
git clone git@gitlab-ssh.irstea.fr:cedric.midoux/easy16S.git
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment