Skip to content

Instantly share code, notes, and snippets.

@buo
Created August 24, 2016 07:59
Show Gist options
  • Save buo/52248d758a6d599fb9afdce7661c7afa to your computer and use it in GitHub Desktop.
Save buo/52248d758a6d599fb9afdce7661c7afa to your computer and use it in GitHub Desktop.
A script that automatically configures Jupyter on Cloud9
#!/bin/bash
sudo pip install jupyter
jupyter notebook --generate-config
sed -i "s/# c.NotebookApp.port = 8888/c.NotebookApp.port = $PORT/" ~/.jupyter/jupyter_notebook_config.py
sed -i "s/# c.NotebookApp.ip = 'localhost'/c.NotebookApp.ip = '0.0.0.0'/" ~/.jupyter/jupyter_notebook_config.py
@phewdry
Copy link

phewdry commented Mar 8, 2020

how to run jupyter after installing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment