forked from rakyll/drive
-
Notifications
You must be signed in to change notification settings - Fork 428
Home
Emmanuel Odeke edited this page Aug 11, 2015
·
34 revisions
Welcome to the drive wiki!
-
An installation of Go with version >= 1.3
To check your go version:
$> go version
-
Your gopath should have been set in your e.g
Sample set up:
vi ~/.bashrc or vi ~/.bash_profile
export GOPATH=~/gopath
export PATH=$GOPATH:$GOPATH/bin:${PATH}
$> go get -u github.com/odeke-em/drive/drive-gen && drive-gen
To setup/mount your Google Drive directory to path ~/GDRIVE
To manage the number of concurrent pulls/pushes in your env make sure to set variable DRIVE_GOMAXPROCS
e.g:
$ cat << ! >> ~/.bashrc
> export DRIVE_GOMAXPROCS=8
> !
$ source ~/.bashrc