Created
March 18, 2015 07:01
-
-
Save macedd/bd2bd5e6baf1a88cc5e8 to your computer and use it in GitHub Desktop.
SSH Remote IPython Console Grunt Commands
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
/** | |
* IPython Commands | |
*/ | |
shell: { | |
ipnb_kernel: { | |
command: 'ssh me@server "nohup ipython kernel &> kernel.log &"' | |
}, | |
ipnb_kernel_json: { | |
command: 'rsync -t me@server:~/.ipython/profile_default/security/kernel* ./kernel/' | |
}, | |
ipnb_console: { | |
command: 'nohup ipython qtconsole --ssh=me@server --existing=kernel/$(ls -t ./kernel | head -n1) &> kernel.log &' | |
}, | |
ipnb_kernel_kill: { | |
command: 'ssh me@server "killall ipython"' | |
}, | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment