-
A git setup script that allows us to use git to sync files between the local and remote versions
-
A scrip that hosts jupyter notebooks on a remote machine, but forwards the output back to us, so we can work locally on remote hosted notebooks.
This script configures a post-receive hook that resets to the current version. Use it remotely to allow a simple push to sync files between machines.
ssh in and run projSetup $NAME
This sets up the git repositories for the project that can be push to and will update to the newly pushed version. BE CAREFUL ABOUT LEAVING UNCOMMITTED CHANGES ON THE CLUSTER.
Commit and run git push cluster master
Runs jupyter notebooks in interactive sessions on the cluster. Port-forwards them back to be opened in the local browser. This version works on O2 and orchestra.
- Put getNotebook.sh on your local machine and getNbSession.sh and startSession.sh on the remote machine. (all executable)
- Change the username in the getNotebook and startSession files
-
Sync local files to the remote machine.
-
run
getNotebook $PORT
. The port number is optional and the default is 50021. However, it might get clogged by an old notebook. I'm not sure how to clear that up, but you can just run on a new port. -
Point browser to 127.0.0.1:$PORT
-
When you're done, be sure to sync the remote changes back to your local copy. This is especially dangerous when using projSetup.