update readme

This commit is contained in:
Steven Degutis
2012-03-16 15:44:50 -05:00
parent ce4ffc8a43
commit d00e02301d

View File

@@ -4,11 +4,20 @@ Want to learn Go? Want to do it easily? Want to have fun with it? Want lots of m
I can't help you out with that last one. Sorry.
### Install
### Go Setup
$ export GOPATH=~/projects/go # and add this to your ~/.profile
$ mkdir -p ~/projects/go/src
$ cd ~/projects/go/src
This part is specific to go, not really the koans. All project directories need
to be under `$GOPATH/src` for `go` to see them and do all it's awesome Go-stuff.
$ export GOPATH=~/my-go-projects
$ mkdir -p $GOPATH/src
$ cd $GOPATH/src
Since the `$GOPATH` is useful any time in Go, this is recommended:
$ echo 'export GOPATH=~/my-go-projects' >> ~/.profile
### Install the Koans
$ git clone https://sdegutis@github.com/sdegutis/go-koans.git
$ cd go-koans
@@ -20,4 +29,4 @@ I can't help you out with that last one. Sorry.
### More fun usage
$ brew install https://raw.github.com/sdegutis/fswatch/master/brew_formula/fswatch.rb
$ fswatch . go test
$ fswatch -f . go test