<commit_before># Shiny Server

Shiny Server is a server program that makes [Shiny](http://shiny.rstudio.org/) applications available over the web.

## Features

* Host multiple Shiny applications, each with its own URL
* Can be configured to allow any user on the system to create and deploy their own Shiny applications
* Supports non-websocket-capable browsers, like IE8/9
* Free and open source ([AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html) license)
* **Experimental quality. Use at your own risk!**

## Prerequisites

A Linux server, with the following installed:

* [Node.js 0.8.16 or later](http://nodejs.org) (for Ubuntu, we have found [these instructions](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) to work well)
* [R 2.15 or later](http://www.r-project.org)
* [Shiny](https://github.com/rstudio/shiny) R package, installed by root

## Installing

* Run as root (or `sudo`): `npm -g install shiny-server`
* Optional: Create a config file (see below).

## Quick start

Run as root (or `sudo`):

```
# Create a user to run Shiny apps under
useradd --system shiny
# Create a root directory for your website
mkdir -p /var/shiny-server/www<commit_msg>Instructions for installing shiny into site-wide lib<commit_after># Shiny Server

Shiny Server is a server program that makes [Shiny](http://shiny.rstudio.org/) applications available over the web.

## Features

* Host multiple Shiny applications, each with its own URL
* Can be configured to allow any user on the system to create and deploy their own Shiny applications
* Supports non-websocket-capable browsers, like IE8/9
* Free and open source ([AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html) license)
* **Experimental quality. Use at your own risk!**

## Prerequisites

A Linux server, with the following installed:

* [Node.js 0.8.16 or later](http://nodejs.org) (for Ubuntu, we have found [these instructions](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) to work well)
* [R 2.15 or later](http://www.r-project.org)
* [Shiny](https://github.com/rstudio/shiny) R package, installed into the site-wide library. This is one easy way to do that:<br/>
```
sudo su - -c "R -e \"install.packages('shiny', repos='http://cran.rstudio.com/')\""
```

## Installing

* Run as root (or `sudo`): `npm -g install shiny-server`
* Optional: Create a config file (see below).

## Quick start

Run as root (or `sudo`):

```
# Create a user to run Shiny apps under
useradd --system shiny
# Create a root directory for your website
mkdir -p /var/shiny-server/www
{'fraction_non_alphanumeric': 0.12689173457508732, 'fraction_numerical': 0.009313154831199068, 'mean_word_length': 4.239837398373984, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6999125', 'n_tokens_mistral': 842, 'n_tokens_neox': 799, 'n_words': 302}