mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-21 01:11:21 +08:00
13 lines
309 B
Python
13 lines
309 B
Python
from tempfile import mkdtemp
|
|
|
|
c.ServerApp.port = 8888
|
|
c.ServerApp.port_retries = 0
|
|
c.ServerApp.open_browser = False
|
|
|
|
c.ServerApp.root_dir = mkdtemp(prefix="galata-test-")
|
|
c.ServerApp.token = ""
|
|
c.ServerApp.password = ""
|
|
c.ServerApp.disable_check_xsrf = True
|
|
|
|
c.JupyterNotebookApp.expose_app_in_browser = True
|