Last active
December 23, 2015 18:19
-
-
Save geoffyuen/6674507 to your computer and use it in GitHub Desktop.
Webserver
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
# Static Server | |
## Python 2.x (OSX 10.7): | |
python -m SimpleHTTPServer | |
## Python 3.x: | |
python -m http.server 8000 | |
# Server with PHP | |
## PHP 5.5 | |
php -S localhost:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment