Differences between revisions 10 and 12 (spanning 2 versions)
Revision 10 as of 2018-07-25 19:11:12
Size: 1328
Editor: chapoton
Comment:
Revision 12 as of 2022-04-05 02:12:08
Size: 0
Editor: mkoeppe
Comment: outdated sagenb
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<#FF6347> The legacy sage notebook is deprecated. ||

||<#98FF98> Please use instead the Jupyter notebook. ||

= Starting the Notebook: Tips and Tricks =

This page is intended to complement and extend the docstring for the `notebook()` function in Sage, which is long and complicated enough as it is!

I think we should have some more extended discussion of the examples from the notebook docstring here, particularly the options for running a public notebook server.

Here's an example of one thing that's probably better here than in the docstring: the `timeout` parameter is useful if you find that your server is running out of memory, or seriously bogging down with multiple users. Setting a nonzero timeout will kill idle sessions that are needlessly using memory. See [[http://groups.google.com/group/sage-support/browse_thread/thread/6735e88260cc079/|this sage-support thread]] (and particularly kcrisman's comments).

If you are having trouble accessing the notebook server, make sure you specify `interface=''` when starting the notebook. The tells the notebook server to listen on all network interfaces. Using the incorrect `interface` line can have strange effects, such as images not showing up in published worksheets!

Example of configuring the Sage notebook using !VirtualBox: SageVirtualBox