-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpostBuild
More file actions
18 lines (18 loc) · 744 Bytes
/
postBuild
File metadata and controls
18 lines (18 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
jupyter serverextension enable --py jupyter_server_proxy
git clone https://github.com/polynote/polynote.git
# build gui
cd polynote/polynote-frontend; npm install; npm run dist; cd ../..
# build polynote
wget https://piccolo.link/sbt-1.3.3.zip
unzip sbt-1.3.3.zip
rm sbt-1.3.3.zip
cd polynote; ../sbt/bin/sbt +dist; cd ..
cd nbpolynote; tar -xvf ../polynote/target/scala-2.11/polynote-dist.tar.gz; cd ..
# setup notebook folder symbolic link
rm -rf nbpolynote/polynote/notebooks
ln -s $HOME/notebooks nbpolynote/polynote/notebooks
# setup notebook plugin
python setup.py develop
jupyter serverextension enable --user --py nbpolynote
jupyter nbextension install --user --py nbpolynote
jupyter nbextension enable --user --py nbpolynote