Remove trivial env vars, doc command line args

* Remove PORT and INTERFACE env vars which can conflict with other systems (e.g., Mesos)
* Document command line pass-through to start-notebook.sh

(c) Copyright IBM Corp. 2015
This commit is contained in:
Peter Parente
2015-10-19 09:36:28 -04:00
parent ab2414f0c5
commit ad99f8c74f
8 changed files with 60 additions and 15 deletions

View File

@@ -8,8 +8,6 @@ import stat
PEM_FILE = os.path.join(jupyter_data_dir(), 'notebook.pem')
c = get_config()
c.NotebookApp.ip = os.getenv('INTERFACE', '') or '*'
c.NotebookApp.port = int(os.getenv('PORT', '') or 8888)
c.NotebookApp.open_browser = False
# Set a certificate if USE_HTTPS is set to any value