Show More
@@ -243,7 +243,6 b' and then on any cell that you need to protect, use::' | |||||
243 | if script: |
|
243 | if script: | |
244 | # rest of the cell... |
|
244 | # rest of the cell... | |
245 |
|
245 | |||
246 |
|
||||
247 | Keyboard use |
|
246 | Keyboard use | |
248 | ------------ |
|
247 | ------------ | |
249 |
|
248 | |||
@@ -333,9 +332,11 b' notebook server over ``https://``, not over plain ``http://``. The startup' | |||||
333 | message from the server prints this, but it's easy to overlook and think the |
|
332 | message from the server prints this, but it's easy to overlook and think the | |
334 | server is for some reason non-responsive. |
|
333 | server is for some reason non-responsive. | |
335 |
|
334 | |||
|
335 | Quick how to's | |||
|
336 | ============== | |||
336 |
|
337 | |||
337 |
|
|
338 | Running a public notebook server | |
338 | ============================================= |
|
339 | -------------------------------- | |
339 |
|
340 | |||
340 | If you want to access your notebook server remotely with just a web browser, |
|
341 | If you want to access your notebook server remotely with just a web browser, | |
341 | here is a quick set of instructions. Start by creating a certificate file and |
|
342 | here is a quick set of instructions. Start by creating a certificate file and | |
@@ -365,7 +366,7 b' You can then start the notebook and access it later by pointing your browser to' | |||||
365 | ``https://your.host.com:9999`` with ``ipython notebook --profile=nbserver``. |
|
366 | ``https://your.host.com:9999`` with ``ipython notebook --profile=nbserver``. | |
366 |
|
367 | |||
367 | Running with a different URL prefix |
|
368 | Running with a different URL prefix | |
368 | =================================== |
|
369 | ----------------------------------- | |
369 |
|
370 | |||
370 | The notebook dashboard (i.e. the default landing page with an overview |
|
371 | The notebook dashboard (i.e. the default landing page with an overview | |
371 | of all your notebooks) typically lives at a URL path of |
|
372 | of all your notebooks) typically lives at a URL path of | |
@@ -379,6 +380,27 b' modifying ``ipython_notebook_config.py``)::' | |||||
379 | c.NotebookApp.base_kernel_url = '/ipython/' |
|
380 | c.NotebookApp.base_kernel_url = '/ipython/' | |
380 | c.NotebookApp.webapp_settings = {'static_url_prefix':'/ipython/static/'} |
|
381 | c.NotebookApp.webapp_settings = {'static_url_prefix':'/ipython/static/'} | |
381 |
|
382 | |||
|
383 | Using a different notebook store | |||
|
384 | -------------------------------- | |||
|
385 | ||||
|
386 | By default the notebook server stores notebooks as files in the working | |||
|
387 | directory of the notebook server, also known as the ``notebook_dir``. This | |||
|
388 | logic is implemented in the :class:`FileNotebookManager` class. However, the | |||
|
389 | server can be configured to use a different notebook manager class, which can | |||
|
390 | store the notebooks in a different format. Currently, we ship a | |||
|
391 | :class:`AzureNotebookManager` class that stores notebooks in Azure blob | |||
|
392 | storage. This can be used by adding the following lines to your | |||
|
393 | ``ipython_notebook_config.py`` file:: | |||
|
394 | ||||
|
395 | c.NotebookApp.notebook_manager_class = 'IPython.frontend.html.notebook.azurenbmanager.AzureNotebookManager' | |||
|
396 | c.AzureNotebookManager.account_name = u'paste_your_account_name_here' | |||
|
397 | c.AzureNotebookManager.account_key = u'paste_your_account_key_here' | |||
|
398 | c.AzureNotebookManager.container = u'notebooks' | |||
|
399 | ||||
|
400 | In addition to providing your Azure Blob Storage account name and key, you will | |||
|
401 | have to provide a container name; you can use multiple containers to organize | |||
|
402 | your Notebooks. | |||
|
403 | ||||
382 | .. _notebook_format: |
|
404 | .. _notebook_format: | |
383 |
|
405 | |||
384 | The notebook format |
|
406 | The notebook format | |
@@ -423,7 +445,7 b' cell, when exported to python format::' | |||||
423 | print "hello IPython" |
|
445 | print "hello IPython" | |
424 |
|
446 | |||
425 |
|
447 | |||
426 |
Known |
|
448 | Known issues | |
427 | ============ |
|
449 | ============ | |
428 |
|
450 | |||
429 | When behind a proxy, especially if your system or browser is set to autodetect |
|
451 | When behind a proxy, especially if your system or browser is set to autodetect |
General Comments 0
You need to be logged in to leave comments.
Login now