update readme
This commit is contained in:
19
README.md
19
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user