You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-11Lines changed: 45 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,23 +40,41 @@
40
40
41
41
### Prerequisites
42
42
43
-
-[Go 1.9+](https://golang.org/doc/install) - including GOPATH/bin added to your PATH (i.e., you can run Go binaries that you `go install`).
43
+
-[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`).
44
44
-[Jupyter Notebook](http://jupyter.readthedocs.io/en/latest/install.html) or [nteract](https://nteract.io/desktop)
45
45
-[ZeroMQ 4.X.X](http://zeromq.org/intro:get-the-software) - for convenience, pre-built Windows binaries (v4.2.1) are included in the zmq-win directory.
-[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)
48
+
On Windows, it can also be installed as part of MinGW as described below.
47
49
48
50
### Linux
49
51
52
+
Quick installation as module, requires Go 1.12+
50
53
```sh
51
-
$ go get -u github.com/gopherdata/gophernotes
54
+
$ env GO111MODULE=on go get github.com/gopherdata/gophernotes
$ sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|"< kernel.json.in > kernel.json
70
+
```
57
71
72
+
To confirm that the `gophernotes` binary is installed in GOPATH, execute it directly:
73
+
```sh
74
+
$ "$(go env GOPATH)"/bin/gophernotes
75
+
```
76
+
and you shoud see the following:
58
77
```sh
59
-
$ gophernotes
60
78
2017/09/20 10:33:12 Need a command line argument specifying the connection file.
61
79
```
62
80
@@ -68,19 +86,34 @@ $ jupyter --data-dir
68
86
69
87
### Mac
70
88
71
-
**Important Note** - gomacro relies on the `plugin` package when importing third party libraries. This package works reliably on Mac OS X only with Go 1.10.2+ as long as you **never** execute the command `strip gophernotes`.
72
-
If you can only compile gophernotes with Go <= 1.10.1 on Mac, consider using the [Docker](#docker) install and run gophernotes/Jupyter in Docker.
89
+
**Important Note** - gomacro relies on the `plugin` package when importing third party libraries. This package works reliably on Mac OS X with Go 1.10.2+ as long as you **never** execute the command `strip gophernotes`.
73
90
91
+
Quick installation as module, requires Go 1.12+
74
92
```sh
75
-
$ go get -u github.com/gopherdata/gophernotes
93
+
$ env GO111MODULE=on go get github.com/gopherdata/gophernotes
0 commit comments