Start serving a directory over HTTP (ร la python -m SimpleHTTPServer
).
Defaults to the current working directory and port 8080.
Install Go, and go get github.com/pushrax/serve
. Ensure your Go bin folder is in your $PATH.
Just run serve
somewhere and it'll start serving.
$ serve -help
Usage of serve:
-path=".": Directory to serve
-port=8080: Port to listen on