Created
February 15, 2014 05:16
-
-
Save AlecTaylor/9014826 to your computer and use it in GitHub Desktop.
This file contains 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
rhc app create ip diy | |
rhc ssh ip | |
scl enable python27 bash | |
cd $OPENSHIFT_DATA_DIR | |
virtualenv ipython | |
cd ipython | |
./bin/pip install ipython pyzmq tornado jinja2 | |
killall ruby | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
ln -s ${OPENSHIFT_DATA_DIR}notebooks /sandbox/ipython | |
${OPENSHIFT_DATA_DIR}ipython/bin/ipython profile create openshift --profile-dir=/sandbox/ipython | |
${OPENSHIFT_DATA_DIR}ipython/bin/ipython notebook --NotebookApp.ip=${OPENSHIFT_DIY_IP} --KernelManager.ip=${OPENSHIFT_DIY_IP} --IPKernelApp.ip=${OPENSHIFT_DIY_IP} --NotebookApp.port=${OPENSHIFT_DIY_PORT} --transport=ipc --IPKernelApp.transport=ipc --KernelManager.transport=ipc --notebook-dir=/sandbox/ipython --profile-dir=/sandbox/ipython --ipython-dir=/sandbox/ipython --no-browser |
This file contains 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
rhc app create ipython python-2.7 | |
rhc ssh ipython | |
pip install ipython pyzmq tornado | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
killall httpd | |
ipython notebook --ip=${OPENSHIFT_PYTHON_IP} --port=${OPENSHIFT_PYTHON_PORT} --no-browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment