README.md 774 Bytes
Newer Older
Cedric Midoux's avatar
Cedric Midoux committed
1
Development of an R-shiny application to quickly and easily analyze 16S data.
Cedric Midoux's avatar
Cedric Midoux committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

# 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;
	}
}
```