{"id":16446250,"url":"https://github.com/mimimalizam/shiny-dashboard","last_synced_at":"2026-05-15T00:04:02.751Z","repository":{"id":91502708,"uuid":"127526335","full_name":"mimimalizam/shiny-dashboard","owner":"mimimalizam","description":"Dockerized RStudio template project","archived":false,"fork":false,"pushed_at":"2018-03-31T11:31:30.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T01:48:31.474Z","etag":null,"topics":["docker-image","r","rstudio","shiny","shiny-apps"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mimimalizam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-31T11:30:50.000Z","updated_at":"2019-03-03T02:32:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"78eed16d-37e1-41fe-80f6-fa32bdaf2a7c","html_url":"https://github.com/mimimalizam/shiny-dashboard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimimalizam%2Fshiny-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimimalizam%2Fshiny-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimimalizam%2Fshiny-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimimalizam%2Fshiny-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimimalizam","download_url":"https://codeload.github.com/mimimalizam/shiny-dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240831380,"owners_count":19864718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","r","rstudio","shiny","shiny-apps"],"created_at":"2024-10-11T09:46:56.450Z","updated_at":"2026-05-15T00:04:02.681Z","avatar_url":"https://github.com/mimimalizam.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"README\n=========\n\nThis repo is intended to let me play around with Shiny\n\nDataset\n---------\n\nRun RStudio in Docker\n---------------------\n\nFrom the comfort of your terminal run\n\n```\n$ docker build -t shiny-dashboards .\n```\n\nAn instance of an **image** is called **container**.\nAn image is the setup of the isolated environment.\nIf you run this image, you will have an instance of it, which we call containter.\nYou can have many running containers of the same image.\n\n```\n$ docker run --rm -p 9923:9923 mimimum/shiny-dashboards\n```\n\nIt will be avaliable at `http://localhost:9923`.\n\n`-p` tells Docker that you will be using a port to see RStudio in your web browser\n(at a location which we specify afterwards as port 9923:9923).\n`--rm` ensures that when we quit the container, the container is deleted.\n\nWhen you visit `http://localhost:9923` you will be greeted by the RStudio welcome screen.\n\nLog in credentials are:\n\n```\n username: rstudio\n password: rstudio\n```\n\nDockerfile\n----------\n\nThe image is built by running `docker build -t my-r-image .` in the same\ndirectory as our Dockerfile. It helps us to re-create our images at will.\nHere are some main commands\n\n- `FROM` - can be found at the beginning of every Dockerfile and specifies\nthe image we want to start from\n- `RUN` - runs shell commands on top of our base image. Can be used for downloads\nand installations\n- `ADD` - adds files from our computer (host) to a Docker images which it is describing.\n\nManipulating with files between host and container\n-------------------------------------------------\n\nIf we have a running container and we want to add some files to it,\nwe'd use a command similar to the following\n\n```\n$ docker cp $HOME/shiny-dash-1/sample-app \u003ccontainter-id\u003e:home/rstudio/sample-app\n```\n\nSimilarly, with the following command we can copy files from running container\n\n```\n# copy from contrainer\n$ docker cp \u003ccontainer_id\u003e:/file/path/within/container /host/path/target\n```\n\nRStudio Server\n--------------\n\nBy default RStudio accepts connections on port 8787.\nIn this case Docker will be using port 9923,\nas it is stated in `config/rserver.conf`.\n\nGetting started with dashing\n----------------------------\n\nWhen you have a running Docker container, and you have opened `http://localhost:9923`,\nyou can start creating a [dashboard] 🎉 .\n\nTrivia\n------\n***9923*** = 38 * 256 + 195 is the smallest [executable prime] on an x86 DOS.\nTo learn more about this refer to Phill Carmody's article about [illegal numbers]\nor watch [Numberphile's video].\n\n\nDashboard is an app that\n------------------------\n\n- is always available\n- displays key information\n- typically refreshes automatically or on a schedule\n- may or may not be interactive\n\n1. How to automatically update your dashboard with new data\n\n- reactiveFileReader function\n- reactivePoll function\n\n2. How to build a great dashboard UI\n\n- shinydashboard package\n- htmlTemplate function\n\n[executable prime]: http://primes.utm.edu/glossary/page.php?sort=ExecutablePrime\n[Illegal numbers]: http://fatphil.org/maths/illegal.html\n[Numberphile's video]: https://www.youtube.com/watch?v=wo19Y4tw0l8\n[dashboard]: https://rstudio.github.io/shinydashboard/get_started.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimimalizam%2Fshiny-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimimalizam%2Fshiny-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimimalizam%2Fshiny-dashboard/lists"}