Last active
May 26, 2022 03:34
-
-
Save Narayana108/2fd531dc87b388438eb05c5434efffcb to your computer and use it in GitHub Desktop.
Simple Local HTTP Server With Ruby and Python
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 a local HTTP server to display your HTML site in the browser | |
# Ruby HTTP server | |
ruby -run -e httpd . -p 8000 | |
# Python HTTP server | |
python -m http.server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment