Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 432 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 432 Bytes

#Simple Server

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

(although cd /home/somedir && python -m SimpleHTTPServer is pretty simple to 😉 )

##Build and Install

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