Add GopherNotes.sh
Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
parent
81f41c9ee2
commit
c9baa6a27a
2 changed files with 15 additions and 0 deletions
|
@ -32,6 +32,7 @@ Markdown docs and shell scripts for automating installation of things and docume
|
|||
* [`git.sh`](git.sh)
|
||||
* [`gitkraken.md`](gitkraken.md)
|
||||
* [`go.md`](go.md) for installing the Go programming language
|
||||
* [`gophernotes.sh`](gophernotes.sh) for the the GopherNotes Juypter kernel
|
||||
* [`jetbrainsToolbox.md`](jetbrainsToolbox.md) for installing the JetBrains Toolbox tool
|
||||
* [`nim.md`](nim.md) for installing the Nim programming language
|
||||
* [`node.md`](node.md) for installing Node.JS
|
||||
|
|
14
gophernotes.sh
Executable file
14
gophernotes.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# GopherNotes - https://github.com/gopherdata/gophernotes
|
||||
# 2021-05-13
|
||||
|
||||
go get github.com/gopherdata/gophernotes
|
||||
mkdir -p ~/.local/share/jupyter/kernels/gophernotes
|
||||
cd ~/.local/share/jupyter/kernels/gophernotes
|
||||
cp "$(go env GOPATH)"/pkg/mod/github.com/gopherdata/gophernotes@v0.7.2/kernel/* "."
|
||||
chmod +w ./kernel.json
|
||||
sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|" < kernel.json.in > kernel.json
|
||||
|
||||
# Test after installation with `"$(go env GOPATH)"/bin/gophernotes`
|
||||
# You should see a line with the words: `Need a command line argument specifying the connection file.`
|
Loading…
Add table
Add a link
Reference in a new issue