Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/virtualstaticvoid/heroku-docker-r-shiny-server-app
- Owner: virtualstaticvoid
- License: mit
- Created: 2021-09-27T17:45:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T08:43:06.000Z (about 3 years ago)
- Last Synced: 2024-08-13T07:13:22.672Z (4 months ago)
- Topics: demo-app, docker, heroku, r, rshiny, shiny, shiny-server
- Language: R
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - virtualstaticvoid/heroku-docker-r-shiny-server-app - Example R project for running multiple Shiny applications using Shiny Server on Heroku. (R)
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.