Created
June 13, 2014 18:19
-
-
Save ktham/0c43828acbb4db62113e to your computer and use it in GitHub Desktop.
Run a simple web server
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
# Running a simple web server in ruby | |
ruby -run -e httpd . -p 8888 | |
# Running a simple web server in python2 | |
python -m SimpleHTTPServer 8888 | |
# Running a simple web server in python3 | |
python3 -m http.server 8888 | |
# Running a simple web server in node via http-server | |
# (install using: npm install -g http-server) | |
http-server -p 8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment