Mercurial > hg > Members > aka > jupyter_CbC_kernel
annotate README.md @ 11:ed81f9f93bde
Add basic docker instructions
author | Brendan Rius <brendan@omixy.com> |
---|---|
date | Sat, 26 Mar 2016 14:59:52 +0000 |
parents | eee0f8bf43f5 |
children | a804d1645b0a |
rev | line source |
---|---|
0 | 1 # Minimal C kernel for Jupyter |
2 | |
3 ## Requirements | |
4 | |
5 * gcc | |
6 * jupyter | |
10 | 7 * python |
8 * pip | |
0 | 9 |
10 ## Installation | |
11 | |
11
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
12 ### Manually |
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
13 |
0 | 14 * `git clone git@github.com:brendan-rius/jupyter-c-kernel.git` |
10 | 15 * `pip install jupyter-c-kernel` |
0 | 16 * `cd jupyter-c-kernel` |
17 * `jupyter-kernelspec install c_kernel` | |
18 | |
11
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
19 ### Via Docker |
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
20 |
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
21 * `docker build .` |
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
22 * `docker run -d -p 8888:8888 CONSTRUCTED_IMAGE` |
ed81f9f93bde
Add basic docker instructions
Brendan Rius <brendan@omixy.com>
parents:
10
diff
changeset
|
23 * Go to [http://localhost:8888](http://localhost:8888) (or your VM if you are using Docker Machine) |
0 | 24 ## Usage |
25 | |
6 | 26 * Open the example notebook: `jupyter-notebook example-notebook.ipynb` |
0 | 27 * Enjoy! |
6 | 28 |
29 ## Example of notebook | |
30 | |
31 ![Example of notebook](example-notebook.png?raw=true "Example of notebook") | |
32 |