#!/bin/bash # # spacecruft-voila-start set -x cd /srv/satnogs/satnogs-wut/notebooks/ voila \ --ExecutePreprocessor.timeout=600 \ --no-browser \ --port=8867 \ --theme=dark \ --autoreload=True \ --template=default \ --Voila.ip=localhost \ --VoilaConfiguration.enable_nbextensions=False \ wut-web.ipynb \ 1>>~/log/voila.log 2>>~/log/voila.err & exit --debug \ --strip_sources=False \ --base_url= (Voila.base_url) Default: '/' Path for voila API calls. If server_url is unset, this will be used for both the base route of the server and the client. If server_url is set, the server will server the routes prefixed by server_url, while the client will prefix by base_url (this is useful in reverse proxies). --server_url= (Voila.server_url) Default: None Path to prefix to voila API handlers. Leave unset to default to base_url --Voila.config_file_paths= Default: [] Paths to search for voila.(py|json) --Voila.connection_dir_root= Default: '' Location of temporry connection files. Defaults to system `tempfile.gettempdir()` value. --Voila.custom_display_url= Default: '' Override URL shown to users. Replace actual URL, including protocol, address, port and base URL, with the given value when displaying URL to the users. Do not change the actual connection URL. If authentication token is enabled, the token is added to the custom URL automatically. This option is intended to be used when the URL to display to the user cannot be determined reliably by the Jupyter notebook server (proxified or containerized setups for example). --Voila.log_level= Default: 30 Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') Set the log level by value or name. --Voila.root_dir= Default: '' The directory to use for notebooks. --Voila.server_url= Default: None Path to prefix to voila API handlers. Leave unset to default to base_url --Voila.static_paths= Default: ['/home/jebba/.local/lib/python3.7/site-packages/voila/static'] paths to static assets --Voila.static_root= Default: '/home/jebba/.local/lib/python3.7/site-packages/voila/static' Directory holding static assets (HTML, JS and CSS files). --Voila.template_paths= Default: [] path to nbconvert templates --VoilaConfiguration.file_whitelist=['.*\\.(png|jpg|gif|svg)'] --VoilaConfiguration.resources= Default: {} extra resources used by templates; example use with --template=reveal --VoilaConfiguration.resources="{'reveal': {'transition': 'fade', 'scroll': True}}"