Skip to content

Instantly share code, notes, and snippets.

@FlowerWrong
Created December 11, 2017 01:46
Show Gist options
  • Save FlowerWrong/ea72639672eabfc33f937b67d7e2de3d to your computer and use it in GitHub Desktop.
Save FlowerWrong/ea72639672eabfc33f937b67d7e2de3d to your computer and use it in GitHub Desktop.
One line http server

one line http server

ruby

ruby -run -ehttpd . -p8000

python

python2 -m SimpleHTTPServer 8000

python3 -m http.server 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment