2016-03-25 11:50:40 +00:00
|
|
|
# Minimal C kernel for Jupyter
|
|
|
|
|
2016-04-18 19:52:38 -07:00
|
|
|
## Use with Docker (recommended)
|
2016-03-26 15:39:37 +00:00
|
|
|
|
|
|
|
* `docker pull brendanrius/jupyter-c-kernel`
|
|
|
|
* `docker run -d -p 8888:8888 brendanrius/jupyter-c-kernel`
|
|
|
|
* Go to [http://localhost:8888](http://localhost:8888) (or your VM address if you are using Docker Machine)
|
|
|
|
|
2016-04-18 19:52:38 -07:00
|
|
|
## Manual installation
|
|
|
|
|
2016-04-18 19:53:50 -07:00
|
|
|
* Make sure you have the following requirements installed:
|
|
|
|
* gcc
|
|
|
|
* jupyter
|
|
|
|
* python
|
|
|
|
* pip
|
2016-04-28 23:29:12 -03:00
|
|
|
|
|
|
|
### Step-by-step:
|
2016-03-25 11:50:40 +00:00
|
|
|
* `git clone git@github.com:brendan-rius/jupyter-c-kernel.git`
|
2016-03-26 14:56:17 +00:00
|
|
|
* `pip install jupyter-c-kernel`
|
2016-03-25 11:50:40 +00:00
|
|
|
* `cd jupyter-c-kernel`
|
2016-04-18 19:52:38 -07:00
|
|
|
* `jupyter-kernelspec install c_spec/`
|
2016-04-18 19:55:41 -07:00
|
|
|
* `jupyter-notebook`. Enjoy!
|
2016-03-25 14:34:14 +00:00
|
|
|
|
2016-04-28 23:29:12 -03:00
|
|
|
### Easy installation for Unix user:
|
|
|
|
|
|
|
|
* `wget https://raw.githubusercontent.com/brendan-rius/jupyter-c-kernel/master/install.sh | sh`
|
|
|
|
|
2016-03-25 14:34:14 +00:00
|
|
|
## Example of notebook
|
|
|
|
|
|
|
|

|