johnisanerd / learning_python_testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learning_python_testing

Test List:

* [ ] Test codiad

* [ ] Test c9 Ace Install

Install Jupyter

Run the commands I plugged into an install script with sudo bash install_jupyter.sh

Configure the Notebook Server

These were cherry picked from this page on configuring from a public server.

Create a password manually: jupyter notebook --generate-config Generate a config: jupyter notebook --generate-config

Edit the config file: sudo nano /home/pi/.jupyter/jupyter_notebook_config.py Fish out the following:

  • c.NotebookApp.ip = '*'
  • c.NotebookApp.open_browser = False
  • c.NotebookApp.port = 8888 (NOTE: For some reason this enable port 8889? No actually 8888)
  • c.NotebookApp.base_url = '/jupyter' (You can change this to any url you like.)
  • c.NotebookApp.notebook_dir = u'/home/pi/notebooks' (Note that configuring above with this directory, you can put the notebooks in here).

Note: Other config options to note . . . you can modify to embed within another website with this.

Start Jupyter

jupyter notebook

About


Languages

Language:Python 98.8%Language:Shell 1.2%