Skip to content

Instantly share code, notes, and snippets.

@jakelodwick
Created August 18, 2014 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakelodwick/f8f1320005217cc6c262 to your computer and use it in GitHub Desktop.
Save jakelodwick/f8f1320005217cc6c262 to your computer and use it in GitHub Desktop.
Start webserver in current directory & open browser window to it
# run these two commands:
open http://localhost:8000/
python -m SimpleHTTPServer
# I put the following in ~/.profile (OS X) so it runs every time I open a terminal window:
alias phttp="open http://localhost:8000/; python -m SimpleHTTPServer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment