Skip to content

Commit

Permalink
doc google drive
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaeldussin committed Nov 30, 2018
1 parent 4ec450a commit 0222d76
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
44 changes: 44 additions & 0 deletions docs/google_drive.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
==========================
Mount Google Drive from CU
==========================

Install:
********

Reference : `globus for linux <https://docs.globus.org/how-to/globus-connect-personal-linux>`_

Install the google drive app from opam::

opam init
# Answer y to question then
eval `opam config env`
opam install google-drive-ocamlfuse

mkdir /home/$(whoami)/google_drive

The last step, requires X11 forwarding available (use ssh -Y server) within
the campus. It will open firefox remotely on the server (painfully slow).
Don't try this at home, connection behind vpn is even slower...::

google-drive-ocamlfuse /home/$(whoami)/google_drive


log in with your university email/password, authorize,...
and you're all set!

Usage:
******

Your linux system will interact with your google drive like a local disk.

Troubleshooting:
****************

If your command line freezes on ls $HOME or similar. You need to ask admin
to unmount::

sudo umount -f /home/$(whoami)/google_drive

then you can remount the drive::

google-drive-ocamlfuse /home/$(whoami)/google_drive
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Contents:

data_organization.rst
globus.rst
google_drive.rst
conda_env.rst
group_policies.rst

Expand Down

0 comments on commit 0222d76

Please sign in to comment.