-
Notifications
You must be signed in to change notification settings - Fork 426
Home
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 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
Linux Terminal Character Encoding:
If the spinner under Resolving...
displays diamonds with question marks in them, your linux terminal is not displaying UTF-8 characters. Fix by editing /etc/environment
and define LANG
. For example, in the United States, here is what /etc/environment
would look like after editing it:
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
LANG=en_US.UTF-8
After a reboot, your linux terminals will display all the characters instead of putting diamonds with question marks on the screen.