See a notebook example
To install,
- git clone https://github.com/ktr-skmt/Isbt.git or download this zipped repository and unzip it.
- modify the Isbt Kernel spec sbt/kernel.json regarding a path to SBTKernel.py.
- put sbt/kernel.json in your kernel specs' location (See Kernel specs).
- run "jupyter kernelspec list" to confirm whether sbt is registered.
To run,
- run "sbt".
- run "jupyter notebook".
- make a new notebook with "sbt" Kernel.
- to connect to sbt server, execute "sbt-server (host) (port)" in the notebook. Note that you can find the host and the port from your sbt log. If the log includes "[info] sbt server started at 127.0.0.1:12700", then the host is 127.0.0.1 and the port is 12700.
- You can use the notebook as if it were SBT Shell. Enjoy!
I have tested it in Python 3.6.1, Jupyter 4.3.0 and sbt 1.0.1 (Scala 2.12.3 and Oracle JDK 1.8.0_144).