Skip to content

Commit 6d457eb

Browse files
committed
add Mac install
1 parent 52ea4cf commit 6d457eb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,25 @@ $ jupyter --data-dir
5252

5353
### OS X/macOS
5454

55+
```sh
56+
$ go install github.com/gopherdata/gophernotes
57+
$ mkdir -p ~/Library/Jupyter/kernels/gophernotes
58+
$ cp $GOPATH/src/github.com/gopherdata/gophernotes/kernel/* ~/Library/Jupyter/kernels/gophernotes
59+
```
60+
61+
To confirm that the `gophernotes` binary is installed and in your PATH, you should see the following when running `gophernotes` directly:
62+
63+
```sh
64+
$ gophernotes
65+
2017/09/20 10:33:12 Need a command line argument specifying the connection file.
66+
```
67+
68+
**Note** - if you have the `JUPYTER_PATH` environmental variable set or if you are using an older version of Jupyter, you may need to copy this kernel config to another directory. You can check which directories will be searched by executing:
69+
70+
```sh
71+
$ jupyter --data-dir
72+
```
73+
5574
### Windows
5675

5776
Make sure you have the MinGW toolchain:

0 commit comments

Comments
 (0)