Skip to content

refinery-platform/shiny-heatmap-refinery

Repository files navigation

shiny-heatmap-refinery

A simple containerized Shiny App heatmap

Development

The app expects to find its input in /tmp. To run with the fixture:

$ ln -s `pwd`/fixtures/fake-input.json /tmp/input.json

During development, it's easiest to run just the app from inside R Studio: Bring up app.R and hit "Run App" at the top of the editor. Or, from the commandline:

$ R -e 'shiny::runApp("context/shiny-app", 8888, host="0.0.0.0")'

To test the whole Docker container, use the same script as Travis:

$ ./test.sh

Release process

Successful Github tags and PRs will prompt Travis to push the built image to Dockerhub. For a new version number:

$ git tag v0.0.x && git push origin --tags