Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.7 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.7 KB

CS3100: Paradigms of Programming (2024)

Running the Jupyter notebooks

Install docker and git for your platform. Then run the following commands:

$ git clone https://github.com/kartiknagar/cs3100_o24
$ docker run -it -p 8888:8888 -v "$(pwd)":/lectures kartiknagar/cs3100_o23:latest
$ jupyter notebook --ip=0.0.0.0

The second step in the above will download the image from dockerhub automatically. About 500MB download and requires about 5GB storage space in hard disk when uncompressed. This needs to be done only once.

After the above three steps: copy and paste the displayed URL that starts with http://127.0.0.1:8888 into your browser. If you save the changes to the notebook, they are saved locally. As you go through the course, you will have to do git pull in the cs3100_o24 directory to get the latest updates from upstream.

Linux

On Linux, you need at least 5GB free space in the partition in which /var lives. And you need to run the docker command with sudo:

$ sudo docker run -it -p 8888:8888 -v "$(pwd)":/cs3100_o24 kartiknagar/cs3100_o23:latest

Windows

In some windows machines you may have to install wsl 2. Follow only step 4 from this link. For running the docker step, on Windows, you need to run the docker command as follows:

$ docker run -it -p 8888:8888 -v PATH:/cs3100_o24 kartiknagar/cs3100_o23:latest

where PATH in the command should be replaced with the location you cloned the git repo into in the above steps