This Ansible playbook configures a Linux box from scratch to host the shiny app behind a domain. It can also host multiple apps. Just point the DNS to the IP of the box and set the domain/subdomain accordingly in the playbook. You can use this bash script to install and run everything.
Do a git pull
in /root/shinyserver/apps/midasdashboard
to pull changes followed by a docker exec -it shiny-server R --slave -e "devtools::install_local('/srv/shiny-server/midasdashboard', Ncpus = 8)"
to update the app (which is an R package).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.