ROOT  6.06/09
Reference Guide
sample_config.py
Go to the documentation of this file.
1 # ROOTaaS sample configuration file for Jupyter notebooks
2 
3 c = get_config()
4 
5 # Basic notebook configuration
6 c.NotebookApp.password = u'sha1:7ebf0f845169:c71e54322fc8455ec8e3ac82d758853a08a3a9c2'
7 c.NotebookApp.certfile = u'/path/to/cert/mycert.pem'
8 c.NotebookApp.ip = '*'
9 c.NotebookApp.open_browser = False
10 c.NotebookApp.port = 9999
11 c.NotebookApp.base_url = u'/pyroot/'
12 c.NotebookApp.notebook_dir = u'/path/to/notebooks/'
13 
14 # Automatic import
15 c.InteractiveShellApp.exec_lines = ["from ROOTaaS.iPyROOT import ROOT"]
16 
17 # Automatic extension loading
18 #c.InteractiveShellApp.extensions = [ "ROOTaaS.iPyROOT.cppmagic" ]
19 
20 # For exporting HTML from the notebook
21 c.Exporter.preprocessors = [ 'ROOTaaS.html.export.cpphighlighter.CppHighlighter' ]
22 c.HTMLExporter.template_file = 'root_notebook.tpl'
23 c.HTMLExporter.template_path = ['.', '/path/to/ROOTaaS/html/static/templates']
24