- WSL2 (for Windows) WSL Installation Guide
- Docker Desktop Docker Desktop Link
- VS Code VS Code Link
- Create a new repository using this template.
- Clone the repository you just created.
- Run vscode and open the repository you just cloned.
- Open /.devconaier/devcontainer.json and change the value of "GIT_USER_NAME" and "GIT_USER_EMAIL" to your git user name and email.
{ // Before "postCreateCommand": "git config --global user.name 'GIT_USER_NAME' && git config --global user.email 'GIT_USER_EMAIL'", // After "postCreateCommand": "git config --global user.name 'Your Name' && git config --global user.email 'Your Email'", }
- Install "Remote-Containers" Extension. (ID: ms-vscode-remote.remote-containers)
"ctrl + shift + x" (for windows) and search for "Remote-Containers" - Run devcontainer envirnoment.
"ctrl + shift + p" (for windows) and "Remote-Containers: Rebuild and Reopen in Container"
(OR click bottom left corner "Reopen in Container" when you open this repository in vscode.) - Wait for the container to run and install the required packages.
- Enjoy coding with Jupyter Notebook in vscode.
Note: If you want to use C kernel in Jupyter Notebook, you need to change the kernel in the notebook.
- Go to sample file in ./c/C (Sample).ipynb
- Click the "Select Kernel" button on the top right corner of the file.
- Select "C" kernel. (Select Another Kernel -> Jupyter Kernel -> C)
- Jupyter Notebook Kernel for Python 3.12.0
- Jupyter Notebook Kernel for C (jupyter-c-kernel 1.2.2)
- git 2.39.2
- gcc (Debian 12.2.0-14) 12.2.0
- g++ (Debian 12.2.0-14) 12.2.0
- make 4.3
- cmake 3.25.1
- GNU gdb (Debian 13.1-3) 13.1
- Python 3.12.0
- pip 23.3.1
- The container is based on the Official Python Docker Image.
- tag: python:3.12.0-bookworm
- python image is based on Debian12(bookworm) with buildpack-deps