You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for providing this. It works like a dream. However, I stumbled a bit on setting up my initial environment given that I had never worked with Go before. At the very least, a link to Go installation instructions and the command to get all dependencies for a Go project would be helpful. Below is the verbose set of commands that worked for me.
wget https://dl.google.com/go/go1.9.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xvf go1.9.2.linux-amd64.tar.gz
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
# Set path for go
mkdir $HOME/go
export GOPATH="$HOME/go"
cd $HOME/go
# Git clone s3-sync
git clone https://github.com/checkr/s3-sync.git
cd s3-sync/
# Get all dependencies
go get ./...
# Now edit $HOME/go/s3-sync/config.prod.yaml, ex
cp $HOME/go/s3-sync/config.yaml $HOME/go/s3-sync/config.prod.yaml
vim $HOME/go/s3-sync/config.prod.yaml
# Now you can run the program
go run main.go sync --config config.prod.yaml
The text was updated successfully, but these errors were encountered:
First of all, thank you very much for providing this. It works like a dream. However, I stumbled a bit on setting up my initial environment given that I had never worked with Go before. At the very least, a link to Go installation instructions and the command to get all dependencies for a Go project would be helpful. Below is the verbose set of commands that worked for me.
The text was updated successfully, but these errors were encountered: