-
Clone this repo by using:
git clone https://github.com/joundso/in-browser-ide.git in-browser-ide cd in-browser-ide
-
Run the container:
sudo bash ./startup.sh
-
Go to
localhost:9000
(or whatever port you specified in your docker-compose file) and select one of the images you have specified in theshinyproxy/application.yml
file.- RStudio is now available at
localhost:9000/app/rstudio
- Visual Studio Code is now available at
localhost:9000/app/vscode
- RStudio is now available at
-
Stop the environment by running
docker-compose down
.
To enable user authorization simply change the first lines in shinyproxy/application.yml
. See here to read the information material.
- Create a new folder within
shinyproxy/templates/
and create a file you want to replace. You can use the already existing folders "1col", "2col" or "modified_navbar" as orientation. - Change the
proxy.template-path: ./templates/1col
to another folder containing the files you want to replace. - Restart the shinyproxy service:
docker-compose down && docker-compose up -d
- The repo for the Visual Code stuff: https://github.com/joundso/vscode-docker
- The homepage of ShinyProxy: https://shinyproxy.io/
- The github repo of ShinyProxy: https://github.com/openanalytics/shinyproxy
- A template for the
application.yml
file can be found here: https://shinyproxy.io/documentation/configuration/ - A very good example which helped a lot creating this repo and also holds examples of how to include images in the docker-compose file can be found here: https://github.com/shrektan/shinyproxy-docker-compose-example
- Another repo with impact to this can be accessed here: https://github.com/kassambara/shinyproxy-config
- Official examples of how to start shinyproxy in different setups can be found here: https://github.com/openanalytics/shinyproxy-config-examples
- A minimal example with three files can be found in this issue: openanalytics/shinyproxy#99