Monday, May 19, 2014

Simple web server on mac

Here's a cool little command that you can use to start a simple web server to any directory on your mac.

  1. Open terminal 
  2. Navigate to a directory 
  3. Execute the following command
    python -m SimpleHTTPServer 8000