Created
January 6, 2014 15:26
-
-
Save thameera/8284370 to your computer and use it in GitHub Desktop.
Start a simple server in the current directory
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
#!/bin/bash | |
# USAGE | |
# server [optional port] | |
PORT=${1:-9000} | |
python -m SimpleHTTPServer $PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment