How to run a notebook as a stateless web app?

217 views
Skip to first unread message

Paul A

unread,
Jul 5, 2016, 6:46:37 AM7/5/16
to Project Jupyter
The concept of collaboration while developing a notebook is great, but if one then wants to deploy the notebook in production it needs to be stateless, i.e. the actions of one users should not (by default) affect what the other users sees. 

Is there a workflow/nbextensions that help productionize jupyter notebooks as web apps?

Peter Parente

unread,
Jul 5, 2016, 10:22:56 AM7/5/16
to Project Jupyter
Check out the trio of dashboard projects in the jupyter incubator:

Paul A

unread,
Jul 5, 2016, 10:55:37 AM7/5/16
to Project Jupyter
Thank you. Tried installing locally. Got the dashboards and the widgets. Can't get the bindings to appear in jupyter. Anaconda 3.5.1 x64.

Peter Parente

unread,
Jul 6, 2016, 9:18:51 AM7/6/16
to Project Jupyter
> Can't get the bindings to appear in jupyter.

Can you explain what you mean by the bindings not appearing? If you mean none of the UI elements appear and the widget examples don't work, can you double-check that you followed the instructions for enabling the extensions after doing the pip install?

Paul A

unread,
Jul 6, 2016, 9:22:30 AM7/6/16
to jup...@googlegroups.com
The "Publish to local dashboards server" menu option does not appear after installing the bindings.

--
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/rnI9qlV9-V0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/aeb70089-38d8-44c9-a968-75b8d0b39080%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Peter Parente

unread,
Jul 6, 2016, 10:03:41 AM7/6/16
to Project Jupyter
Make sure you also installed the jupyter_cms extension *and enabled it*. I think we added that step to the README, but it's easy to miss. (Unfortunately, there's no way to have one extension enable another one today.)

Also, note that the https://github.com/jupyter-incubator/dashboards_setup/tree/master/docker_deploy repo has a recipe for bringing up all the necessary pieces easily with docker-compose. Even if you don't want to use docker, you can still refer to the Dockerfiles and docker-compose.yml there for the steps you have to take to install and configure everything properly.
Reply all
Reply to author
Forward
0 new messages