Created
June 22, 2020 13:48
-
-
Save viliampucik/f16533989eab1296f176138a83e49fb7 to your computer and use it in GitHub Desktop.
Turn Python into HTTP server serving local directory
This file contains hidden or 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
# Python 3 | |
sudo python -m http.server 80 | |
# Python 2 | |
sudo python2 -m SimpleHTTPServer 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment