Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@

The most simple static http server in go to quickly serve files out of a static directory

##Build and install
(although `cd /home/somedir && python -m SimpleHTTPServer` is pretty simple to :wink: )

You'll need your GOBIN to be set.
Just run:
##Build and Install

go install simpleserver.go
You'll need your `GOBIN` to be set (e.g. `export GOBIN=.`)


To Build:

export GOPATH=`pwd`; go get github.com/codegangsta/cli
export GOBIN=.; go install simpleserver.go

To Run:

$GOBIN/simpleserver