Skip to content

Instantly share code, notes, and snippets.

@tcr
Created October 26, 2011 23:24
Show Gist options
  • Save tcr/1318319 to your computer and use it in GitHub Desktop.
Save tcr/1318319 to your computer and use it in GitHub Desktop.
What's a simple way to serve a local directory through HTTP?
python -m SimpleHTTPServer

On the command line from the folder you want to serve files from (broadcasts on all IP addresses):

["python","http","serve","files","server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment