Is there way to run julia in jupyter notebook without leaving terminal?

Let’s say you were making a binder and wanted to build WebIO prior to having the docker box sent to the user.

Is there a way to make a jupyter notebook with this tailored initialization routine:

cd(Pkg.dir("WebIO", "assets"))
;jupyter labextension install webio
;jupyter labextension enable webio/jupyterlab_entry"WebIO")
using WebIO

And then run in in the postBuild part of the binder?

It seems like this would need to get done because:

  • The initialization creates javascript files
  • and those are needed prior to the user rendering HTML with the package