Skip to content

Instantly share code, notes, and snippets.

@omniosi
Created August 11, 2014 19:38
Show Gist options
  • Save omniosi/32a0ef29a660612cab76 to your computer and use it in GitHub Desktop.
Save omniosi/32a0ef29a660612cab76 to your computer and use it in GitHub Desktop.
create a local basic HTTP server in terminal
// Python 2.x:
python -m SimpleHTTPServer
// Python 3.x:
python -m http.server
// test the web server at http://localhost:8000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment