浏览器端的开发调试环境

配置

扔几篇文档:

https://ipython.readthedocs.io/en/stable/

http://jupyter-notebook.readthedocs.io/en/latest/public_server.html

我的常用配置已保存,且一般把服务放在 nginx 后面。

nbextensions

https://github.com/ipython-contrib/jupyter_contrib_nbextensions

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

.jupyter/jupyter_notebook_config.py

c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.allow_root = True
c.NotebookApp.open_browser = False
c.NotebookApp.password = "sha1:16915df4e9d8:96a7519a26fc028e3506c22e7646c8e0698c1304"

解决 404 GET /nbextensions/widgets/notebook/js/extension.js

pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension

其它语言支持

比如 Golang,自行搜索 go jupyter 可以找到 https://github.com/gopherdata/gophernotes