mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Remove profile info.
This commit is contained in:
parent
1ac315436b
commit
af18367030
@ -13,20 +13,13 @@ A list of available options can be found below in the :ref:`options section
|
||||
<options>`.
|
||||
|
||||
Defaults for these options can also be set by creating a file named
|
||||
``jupyter_notebook_config.py`` in your Jupyter *profile folder*. The profile
|
||||
folder is a subfolder of your Jupyter directory; to find out where it is
|
||||
located, run::
|
||||
``jupyter_notebook_config.py`` in your Jupyter folder. The Jupyter
|
||||
folder is in your home directory, ``~/.jupyter``.
|
||||
|
||||
$ jupyter locate
|
||||
To create a ``jupyter_notebook_config.py`` file, with all the defaults
|
||||
commented out, you can use the following command line::
|
||||
|
||||
To create a new set of default configuration files, with lots of information
|
||||
on available options, use::
|
||||
|
||||
$ jupyter profile create
|
||||
|
||||
.. seealso::
|
||||
|
||||
:ref:`public_server`
|
||||
$ jupyter notebook --generate-config
|
||||
|
||||
|
||||
.. _options:
|
||||
|
@ -84,12 +84,12 @@ If you want to access your notebook server remotely via a web browser,
|
||||
you can do the following.
|
||||
|
||||
Start by creating a certificate file and a hashed password, as explained
|
||||
above. Then create a custom profile for the notebook, with the following
|
||||
command line, type::
|
||||
above. Then, if you don't already have one, create a config file for the
|
||||
notebook using the following command line::
|
||||
|
||||
$ ipython profile create nbserver
|
||||
$ jupyter notebook --generate-config
|
||||
|
||||
In the profile directory just created, edit the file
|
||||
In the ``~/.jupyter`` directory, edit the notebook config file,
|
||||
``jupyter_notebook_config.py``. By default, the file has all fields
|
||||
commented; the minimum set you need to uncomment and edit is the following::
|
||||
|
||||
@ -104,8 +104,7 @@ commented; the minimum set you need to uncomment and edit is the following::
|
||||
c.NotebookApp.port = 9999
|
||||
|
||||
You can then start the notebook and access it later by pointing your browser
|
||||
to ``https://your.host.com:9999`` with ``ipython notebook
|
||||
--profile=nbserver``.
|
||||
to ``https://your.host.com:9999`` with ``jupyter notebook``.
|
||||
|
||||
|
||||
Firewall Setup
|
||||
|
Loading…
Reference in New Issue
Block a user