Skip to content

Commit d8cdc38

Browse files
committed
README.md: fix #200 add 'chmod +w ./kernel.json' to installation instructions
README.md: update version to v0.7.0
1 parent 7bdc956 commit d8cdc38

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
- [Go 1.11+](https://golang.org/doc/install) - including GOPATH/bin added to your PATH (i.e., you can run Go binaries that you `go install`).
4444
- [Jupyter Notebook](http://jupyter.readthedocs.io/en/latest/install.html) or [nteract](https://nteract.io/desktop)
4545
- [git](https://git-scm.com/download) - usually already present on Linux and Mac OS X. If not present, follow the instructions at [https://git-scm.com/download](https://git-scm.com/download)
46-
On Windows, it can also be installed as part of MinGW as described below.
4746

4847
### Linux
4948

@@ -52,8 +51,8 @@ Quick installation as module, requires Go 1.12+
5251
$ env GO111MODULE=on go get github.com/gopherdata/gophernotes
5352
$ mkdir -p ~/.local/share/jupyter/kernels/gophernotes
5453
$ cd ~/.local/share/jupyter/kernels/gophernotes
55-
$ cp "$(go env GOPATH)"/pkg/mod/github.com/gopherdata/gophernotes@v0.6.1/kernel/* "."
56-
$ chmod +w ./kernel.json # when copied kernel.json has no write permission
54+
$ cp "$(go env GOPATH)"/pkg/mod/github.com/gopherdata/gophernotes@v0.7.0/kernel/* "."
55+
$ chmod +w ./kernel.json # in case copied kernel.json has no write permission
5756
$ sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|" < kernel.json.in > kernel.json
5857
```
5958

@@ -65,6 +64,7 @@ $ env GO111MODULE=on go install
6564
$ mkdir -p ~/.local/share/jupyter/kernels/gophernotes
6665
$ cp kernel/* ~/.local/share/jupyter/kernels/gophernotes
6766
$ cd ~/.local/share/jupyter/kernels/gophernotes
67+
$ chmod +w ./kernel.json # in case copied kernel.json has no write permission
6868
$ sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|" < kernel.json.in > kernel.json
6969
```
7070

@@ -92,7 +92,8 @@ Quick installation as module, requires Go 1.12+
9292
$ env GO111MODULE=on go get github.com/gopherdata/gophernotes
9393
$ mkdir -p ~/Library/Jupyter/kernels/gophernotes
9494
$ cd ~/Library/Jupyter/kernels/gophernotes
95-
$ cp "$(go env GOPATH)"/pkg/mod/github.com/gopherdata/[email protected]/kernel/* "."
95+
$ cp "$(go env GOPATH)"/pkg/mod/github.com/gopherdata/[email protected]/kernel/* "."
96+
$ chmod +w ./kernel.json # in case copied kernel.json has no write permission
9697
$ sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|" < kernel.json.in > kernel.json
9798
```
9899

@@ -104,6 +105,7 @@ $ env GO111MODULE=on go install
104105
$ mkdir -p ~/Library/Jupyter/kernels/gophernotes
105106
$ cp kernel/* ~/Library/Jupyter/kernels/gophernotes
106107
$ cd ~/Library/Jupyter/kernels/gophernotes
108+
$ chmod +w ./kernel.json # in case copied kernel.json has no write permission
107109
$ sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|" < kernel.json.in > kernel.json
108110
```
109111

0 commit comments

Comments
 (0)