vidartf / phoila

BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Allow running notebook server extensions #12

Open saulshanabrook opened 5 years ago

saulshanabrook commented 5 years ago

I would like to run some server extensions using https://github.com/jupyterhub/jupyter-server-proxy. Is it possible to have phoila launch the existing nb server extensions I have installed? Is it a bug that it doesn't seem to at the moment?

vidartf commented 5 years ago

Phoila currently creates its own server app, vendored from jupyter_server, with some modifications (for the time being). This means that it reads the extension configs from a different config file/key than jupyter notebook.

saulshanabrook commented 5 years ago

@vidartf Hm, so how can I enable other server extensions to run with it? Is there a parallel to jupyter serverextension enable?

vidartf commented 5 years ago

I don't know if there are helper commands, but those just help ensure that the right entries are added to the right config files. You can try phoila --PhoilaApp.generate_config=True

vidartf commented 5 years ago

and use the option [PhoilaApp.]jpserver_extensions.