What is the way to set ipython notebook server parameters when running notebook with django-extensions? -
i using following command run ipython notebook server django:
./manage.py shell_plus --notebook
the server functions expected. however, set port , not launch browser when starting server.
if running ipython notebook server without django use following:
ipython notebook --port=9999 --no-browser
i checked documentation here , tried setting options using
ipython_arguments = [ '--ext', 'django_extensions.management.notebook_extension', '--port=9999', '--no-browser, ]
these arguments loaded after server has started , not change notebook server settings can gather.
how can set notebook server settings when launching notebook server django using
./manage.py shell_plus --notebook
?
thank in advance.
i had same problem, , solved creating new file called ipython_config.py
in same folder manage.py
following content:
c = get_config() # notebook server config below # kernel config c.ipkernelapp.pylab = 'inline' # if want plotting support # notebook config: ip address , port c.notebookapp.ip = '0.0.0.0' c.notebookapp.port = 8888 # disables browser c.notebookapp.open_browser = false
after able run ipython notebook server on required port , ip address, without launching browser, running
python manage.py shell_plus --notebook
you can see more on config file here: http://ipython.org/ipython-doc/1/interactive/public_server.html
Comments
Post a Comment