Created
October 31, 2015 19:57
-
-
Save Nagasaki45/40f171fdc307ff3903c0 to your computer and use it in GitHub Desktop.
A basic version of your script to run your code on the server. You can also parametrize the python script arguments. This way you will pass the arguments to the dist.sh script and it will pass them to your python script on the server.
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
| scp /path/to/project/directory username@hostname:/path/to/project/on/the/server | |
| ssh username@hostname "cd /path/to/project/on/the/server; python script.py arg1 arg2 arg3" | |
| scp username@hostname:/path/to/project/on/the/server/results . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment