From d16b8192fa62aea4431d7cb6ea8061c580fe4982 Mon Sep 17 00:00:00 2001 From: Midoux Cedric Date: Mon, 5 Nov 2018 16:38:12 +0100 Subject: [PATCH] add shiny-server.conf --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index e0e7fed..aa9e015 100644 --- a/README.md +++ b/README.md @@ -1 +1,28 @@ 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` : +```bash +# Instruct Shiny Server to run applications as the user "shiny" +run_as shiny; + +# Define a server that listens on port 3838 +server { + listen 3838; + + # Define a location at the base URL + location / { + + # Host the directory of Shiny Apps stored in this directory + site_dir /srv/shiny-server; + + # Log all Shiny output to files in this directory + log_dir /var/log/shiny-server; + + # When a user visits the base URL rather than a particular application, + # an index of the applications available in this directory will be shown. + directory_index on; + } +} +``` -- GitLab