/modular-shiny-template

Template for a modularized Shiny app

Primary LanguageRMIT LicenseMIT

Modular Shiny Template

This is a basic template for a modularized Shiny app.

App structure

This repo illustrates file organization for a shiny app that uses modules.

Overview of structure:

Docker

I included a basic Dockerfile for running a shiny app. In order to build and run an image run the following from the main repo directory:

docker build . --tag 'shinyapp:latest'
docker run -d -p 3838:3838 shinyapp:latest

Notes:

  • Some R packages may require installing additional system libraries,
  • If you plan to host more apps, you may consider using Shiny Server image.