Configure a Virtual Machine aka devcontainer aka GitHub codespaces for a 'Computational Physics' class. The class uses Julia as the programming language and Jupyter notebooks as the primary programming interface.
- The container uses
mcr.microsoft.com/devcontainers/universal:latestwhich is a prebuilt container image published by Microsoft. Presumably, GitHub doesn't charge for the disk space used by prebuilt 'official' images. The image comes with non-root container user namedcodespace. - The build process installs IJulia. This step is mandatory for using Jupyter Julia notebooks.
- The build process installs PythonPlot. This step is only needed if PythonPlot is used. If you are not using PythonPlot, edit the .devcontainer/Dockerfile as needed.
- Clone this repository, or use it as a template, or copy the repository's content while keeping the directory structure.
- In your cloned repository, navigate to repository's root directory (../devcontainer-phys2200/ in my case)
- Click the green
Codebutton, then click theCodespacestab. - Click the
Create codespace on mainbutton. - Watch your codespace is being created.
- Start using your virtual machine.