eoas-ubc / eoas_tlef

developing jupyter courseware for eoas 2020
BSD 3-Clause "New" or "Revised" License
3 stars 6 forks source link

run executable books using binder or thebelab #37

Open phaustin opened 4 years ago

phaustin commented 4 years ago

Figure out how to run executable books in a standalone docker container that requires some kind of authentification, following the example at: https://brian-rose.github.io/ClimateLaboratoryBook/courseware/models-budgets-fun.html for UAlbany

I think we need to intialize 3 containers -- a volume with the book html files, a container running a simple web server pointed at index.html, and a volume running a jupyterhub on port that can be referenced in the book.

Examples:

1) initializing docker compose volumes 2) running apache 3) docker compose for jupyterhub with oauth: https://opendreamkit.org/2018/10/17/jupyterhub-docker/ and https://github.com/defeo/jupyterhub-docker

rendered book without jupyterhub links: https://phaustin.github.io/Problem-Solving-with-Python-37-Edition/ git repo with book files: https://github.com/phaustin/Problem-Solving-with-Python-37-Edition

slemonide commented 3 years ago

thebelab

Also see https://github.com/ines/juniper

This also seems interesting https://github.com/datacamp/datacamp-light, you can check demo here https://www.datacamp.com/community/tutorials/15-questions-about-r-plots

Not sure if it works with private backend though.