Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/virtualstaticvoid/heroku-docker-r-shiny-server-app

Example R project for running multiple Shiny applications using Shiny Server on Heroku.
https://github.com/virtualstaticvoid/heroku-docker-r-shiny-server-app

demo-app docker heroku r rshiny shiny shiny-server

Last synced: 20 days ago
JSON representation

Example R project for running multiple Shiny applications using Shiny Server on Heroku.

Awesome Lists containing this project

README

        

# Shiny Server Example

Example project showing how to run multiple Shiny applications using Shiny Server on Heroku.

## Usage

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/virtualstaticvoid/heroku-docker-r-shiny-server-app/tree/main)

### Build

Run the following command to build the docker image.

```
docker build --tag shiny_server_example .
```

### Run

Run the following command to run the docker image.

```
docker run -p "8080:8080" shiny_server_example
```

Open your web browser to http://localhost:8080.

## Deploy to Heroku

Run the following commands to create the Heroku application and deploy the code.

Create a container stack application.

```
heroku create --stack=container
```

Deploy the code.

```
git push heroku main
```

View the application in your web browser

```
heroku open
```

## License

MIT License. Copyright (c) 2021 Chris Stefano. See [LICENSE](LICENSE) for details.