Skip to content

Instantly share code, notes, and snippets.

@thameera
Created January 6, 2014 15:26
Show Gist options
  • Save thameera/8284370 to your computer and use it in GitHub Desktop.
Save thameera/8284370 to your computer and use it in GitHub Desktop.
Start a simple server in the current directory
#!/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