docker pull brendanrius/jupyter-c-kerneldocker run -d -p 8888:8888 brendanrius/jupyter-c-kernel- Go to http://localhost:8888 (or your VM address if you are using Docker Machine)
- Make sure you have the following requirements installed:
- gcc
- jupyter
- python 3
- pip
pip install jupyter-c-kernelgit clone https://github.com/brendan-rius/jupyter-c-kernel.gitcd jupyter-c-kerneljupyter-kernelspec install c_spec/jupyter-notebook. Enjoy!
wget -O - https://raw.githubusercontent.com/brendan-rius/jupyter-c-kernel/master/install.sh | sh
The docker image installs the kernel in editable mode, meaning that you can change the code in real-time in Docker. For that, just run the docker box like that:
git clone https://github.com/brendan-rius/jupyter-c-kernel.git
cd jupyter-c-kernel
docker run -v $(pwd):/jupyter/jupyter_c_kernel/ -p 8888:8888 brendanrius/jupyter-c-kernelThis clones the source, run the kernel, and binds the current folder (the one you just cloned) to eh corresponding folder in Docker. Now, if you change the source, it will be reflected in http://localhost:8888 instantly. Do not forget to click "restart" the kernel on the page as it does not auto-restart.
Create branches named issue-X where X is the number of the issue.
Rebase instead of merge.
