This is the repo for the student version of notebooks in
https://www.cs.cityu.edu.hk/~ccha23/deepbook
-
To run locally on your computer with permanent storage:
- Install docker.
- Run the docker in a terminal from a working directory of your choice:
docker run --rm -p 10000:8888 \ -v "${PWD}":/home/jovyan \ chungc/nobf:divedeep \ start-notebook.sh --NotebookApp.token=''
- It may take a couple minutes to run for the first time as it needs to download 1.6GB docker image. Subsequent run should be fast.
- Port 10000 should be free for use. Otherwise, change it to a free port on your computer.
- Pull the notebooks from this repo in a web browser:
http://localhost:10000/git-pull?repo=https%3A%2F%2Fgithub.com%2Fccha23%2Fdivedeep&urlpath=lab%2Ftree%2Fdivedeep%2Fdivedeep.ipynb&branch=master- You can work on the notebooks under the
deepdive
subfolder. Clicking the above link again will automatically pull and merge changes from the repo, without overwritting your changes. - To finish, stop the notebook server by pressing
Control-C
in the terminal that runs the docker. - To restart, run the docker command again from the same working directory. You files should still be under the
deepdive
subfolder.
- You can work on the notebooks under the