Hello, 

At my org we are looking to implement Jupyter notebooks in production as 
sort of "mini-apps" for small groups of end users. The idea is that the 
data scientists can develop in Jupyterhub like an IDE and then push a 
notebook into a CICD workflow, and then out pops a production version that 
is accessible by a particular group of users. The reason for this is that 
the data scientists are not app developers, they do not want to write 
webapps, just work on their algorithms, and their end users are very small 
groups, maybe 6-12 internal users, so it is unnecessary to have a 
development team devoted to making nice looking apps for every algorithm 
they write. We just need a mechanism by which the end user can provide 
input data, it gets transformed by the notebook, generates some 
charts/graphs, and then they receive transformed output data.

For the end users, they should not be able to modify or create new 
notebooks, simply run a single notebook. For that reason we are looking at 
the "appmode" plugin (https://github.com/oschuett/appmode). The next thing 
we would like to do is have the production URL redirect to the running 
"appmode" version of the notebook. In addition, the production notebook 
server should basically just have all the other endpoints shut off or 
restricted, so that only this single "appmode" page is accessible.

Can someone point me in the right direction for how I could modify a 
notebook server to have requests to the base url redirect to this appmode 
page, and how to restrict or turn off the other endpoints? I am a bit lost 
but guessing I will need to modify the handlers here: 
https://github.com/jupyter/notebook/blob/master/notebook/notebook/handlers.py

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d290d0dd-151e-4af0-a59c-e3cd38f78ccf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to