Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simplest Way to Serve Jupyter Incubator Dashboards Locally

I've been exploring steps one and two from the Jupyter Incubator Dashboards project (more information here: https://github.com/jupyter-incubator/dashboards/wiki). Its simple to turn my notebooks into usable dashboards, which is just great.

My problem is that I'm unsure about step three, which is sharing/hosting the dashboards. I'm in an enterprise environment with a local server. I need to be able to share the dashboards on the local server and then have people access them over the web. Essentially, I need the "deploy as a local dashboard" option from step two (dashboards_bundlers). It seems that this functionality is now deprecated, however.

My question is this, is there a simple way to share dashboards locally here? I've been looking at the dashboards_server application, but it looks a little over my head right now. The functionality here looks powerful, but is probably more than what we need for the time being.

If this is the only option then I will proceed there, but I wanted to see if anyone has a simpler solution first.

like image 696
Jeremy McNees Avatar asked Dec 08 '16 18:12

Jeremy McNees


People also ask

Are Jupyter notebooks run locally?

(If you don't understand this yet, don't worry — the important point is just that although Jupyter Notebooks opens in your browser, it's being hosted and run on your local machine.

How do you run a dashboard in a Jupyter Notebook?

Create a new Jupyter notebook document in a language of your choice. Insert markdown and code into the notebook. Run the cells to generate text, plots, widgets, etc. Select either Grid Layout or Report Layout in the Dashboard View toolbar.

How do you run a Jupyter Notebook every hour?

How do I schedule a Jupyter Notebook to run? When your Jupyter notebook is ready for scheduling, open the Schedule runs option inside the Computation tab or access it from the Run menu in Datalore. Then choose the run interval (hourly, daily, weekly, monthly) and the time zone.

Can you automate Jupyter Notebook?

You can use Azure Logic Apps and Azure Automation to automate the troubleshooting guides, diagnostic steps, or other tasks that you have in Jupyter Notebooks. You can create, edit, and test Jupyter Notebooks manually by using your favorite client tools, like Visual Studio Code and Azure Data Studio.


2 Answers

As I see you have posted the similar question on the Github Issues section of Jupyter

You have received the answer too but is not satisfactory I guess. As the person have mentioned that there isn't any way right now for achieving what you are expecting.
But if you want that others should access the local copy of your system Jupyter Dashboard then it is better you make your system as server itself. Then you can grant access to the people for viewing your server/local machine. Others can be a child like systems for your local system.

Just like a Parent-child or Say Master-slave would allow others to have access to your Jupyter DashBoard Copy.

It might be a bit confusing but this is way you can achieve whaht you have mentioned in your question.

like image 188
Jaffer Wilson Avatar answered Oct 19 '22 18:10

Jaffer Wilson


This might be a too simplistic answer. Our company uses Windows 7 enterprise. I have Jupyter Notebook running on a desktop which I access by running the command:

jupyter.exe notebook --ip=10.106.166.180 --no-browser

I just use the IP address of my host computer.

Then I just send people the ipynb url

example http://10.106.166.180:8888/notebooks/Notebooks/sample.ipynb

As long as you don't mind people tinkering, using or snooping around your notebooks. Also if the time comes, you can always restart the server then add a password so that people can't access it anymore.

like image 33
fcsr Avatar answered Oct 19 '22 17:10

fcsr