Skip to content

Instantly share code, notes, and snippets.

@dburihabwa
Created September 23, 2014 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dburihabwa/c2b402709af141ebf47e to your computer and use it in GitHub Desktop.
Save dburihabwa/c2b402709af141ebf47e to your computer and use it in GitHub Desktop.
Revel setup script
#! /bin/bash
echo "mkdir ~/gocode"
mkdir ~/gocode
echo "GOPATH=~/gocode"
GOPATH=~/gocode
echo "export GOPATH=$GOPATH"
export GOPATH=$GOPATH
echo export GOPATH=$GOPATH >> ~/.bashrc
echo "go get github.com/revel/revel"
go get github.com/revel/revel
echo "go get github.com/revel/cmd/revel"
go get github.com/revel/cmd/revel
echo "PATH=$PATH:$GOPATH/bin"
PATH=$PATH:$GOPATH/bin
echo "export PATH=$PATH"
export PATH=$PATH
echo PATH=$PATH >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment