Created
August 24, 2016 07:59
-
-
Save buo/52248d758a6d599fb9afdce7661c7afa to your computer and use it in GitHub Desktop.
A script that automatically configures Jupyter on Cloud9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to run jupyter after installing this?