Mercurial > hg > Members > aka > jupyter_CbC_kernel
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:eee0f8bf43f5 | 11:ed81f9f93bde |
---|---|
7 * python | 7 * python |
8 * pip | 8 * pip |
9 | 9 |
10 ## Installation | 10 ## Installation |
11 | 11 |
12 ### Manually | |
13 | |
12 * `git clone git@github.com:brendan-rius/jupyter-c-kernel.git` | 14 * `git clone git@github.com:brendan-rius/jupyter-c-kernel.git` |
13 * `pip install jupyter-c-kernel` | 15 * `pip install jupyter-c-kernel` |
14 * `cd jupyter-c-kernel` | 16 * `cd jupyter-c-kernel` |
15 * `jupyter-kernelspec install c_kernel` | 17 * `jupyter-kernelspec install c_kernel` |
16 | 18 |
19 ### Via Docker | |
20 | |
21 * `docker build .` | |
22 * `docker run -d -p 8888:8888 CONSTRUCTED_IMAGE` | |
23 * Go to [http://localhost:8888](http://localhost:8888) (or your VM if you are using Docker Machine) | |
17 ## Usage | 24 ## Usage |
18 | 25 |
19 * Open the example notebook: `jupyter-notebook example-notebook.ipynb` | 26 * Open the example notebook: `jupyter-notebook example-notebook.ipynb` |
20 * Enjoy! | 27 * Enjoy! |
21 | 28 |