Created
August 18, 2014 20:54
-
-
Save jakelodwick/f8f1320005217cc6c262 to your computer and use it in GitHub Desktop.
Start webserver in current directory & open browser window to it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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