I am using Jupyter and voila to serve notebook as dashboard. I am using ipyvuetify as the UI widget framework. ipyvuetify fetches some static files such as jupyter-vue.js from the internet This doesn't work with some of our users who have restricted Internet access. How can I ensure the static files are served from the App Server itself. Thanks
How to server jupyter-vue.js file from voila page?
319 Views Asked by Gaurav Gogate At
1
There are 1 best solutions below
Related Questions in VOILA
- ipyvuetify user input text field
- Ipywidgets with Voila not showing: ERROR tornado Uncaught exception GET
- creating scrollable layout in ipyvuetify
- python ipyvuetify equivalent to ipywidgets Output
- ipyvuetify buttons display side by side
- python ipyvuetify closing floating dialog (ipywidgets)
- ipyvuetify catch the user input value of text Field when user changes it
- Copy content of variable into clipboard when rendering html with voila and Jupyter Hub (injecting JS via Ipython??)
- Voila Dashboard base url
- Unable to find the id of an HTML element created by pywidget with Javascript in Jupyter Notebook (Voila)
- Plotly chart in Voila rendering in single line
- ipywidgets FileUpload does not work when using Voila
- Jupyter Notebook Voila Extension not displaying modal popup containing HTML Content
- Troubleshooting Voila Deployment on Heroku: App Boot Timeout (H20 Error) with Jupyter Notebook
- How to control Ipyvuetify ProgressCircular
Related Questions in IPYVUETIFY
- jupyter widgets - file upload - unable to read file in databricks
- ipyvuetify: perform http request from the javascript <script> of a remote component
- Grabbing the id of single and multiple row selected in vuetify datatables using show select prop
- Html Theme Integration in Vuetify
- How to server jupyter-vue.js file from voila page?
- Set height of v.TexaArea of ipyvuetify to a single row and expandable
- Jupyter Lab issue displaying widgets (javascript error)
- Voila Ipyvuetify coud not instantiate widget error
- IPyvuetify: Adding Cards inside DataTable
- Control display of an ipyvuetify page by a dropdown works in notebook not in voila
- clicking an ipyvuetify button programmatically (part 2): Why .fire_event('click', None) does not work
- How to send extra **Kwargs to event click method of an ipyvuetify button
- Open a url from a jupyter lab notebook rendered with voila in a new Chrome Tab
- python: how to add items to a menu of an ipyvuetify toolbar
- Button click is not fetching the correct v_model value of combobox
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I have a similar setup. When your voila app starts, it at some point tries to locate the jupyter-vue.js component. Serving from localhost:8866 the first related request of your app is
which is then redirected to
At this point your app cannot find jupyter-vue.js locally and it falls back to CDN
This is the point where your users need a connection to the CDN. To work around, you can download the js-components manually with a machine having internet connection.
you probably also want
Put these file into a folder "voila" such that your notebook directory has the following setup
Start your app
Your app will now find the required components via the request