revise and clean up build files
To prepare for sharing Thebe with teachers, let's make this as simple as possible by giving a shell script build-book.sh
that automates the entire build for all(?) platforms. I think this means the following:
-
changing the name of
build-lite.sh
tobuild-book.sh
and enabling it to work from file explorer on all platforms. - regarding the above...rather than open the served website automatically, maybe it should just print a message to the user about opening the local server, not the local build, if interactive elements are needed
-
updating the documentation in README and THEBE_LITE.md (move this to
./book/book/thebe_lite/
and refer to it in README???) - can the docker files be collected in a sub-directory and modified to work the same way?
-
deploy-book.sh
should probably becomes something likedeploy-docker.sh
to avoid confusion withbuild-book.sh
-
move the documentation for Docker in the README to a
*.md
file that mimics whatever is done for Thebe
in short: do whatever you can to clean up the root directory as much as possible so that the basic users don't get confused with all the extra "stuff"
Keep in mind that we will eventually be deploying this setup on other Jupyter Book repo's so keeping Docker and Thebe-Lite in separate and portable locations is important.
@tomvanwoudenbe and I can test Windows @cjungbacker can test Mac (he is back next week)