Dead simple webserver on OS X

Posted on

Sometimes when working on a front-end project I want to run it off of a web server instead of as a file://. Well I’ve done the whole MAMP stack and putting things in my web server folder but there’s an even easier way to load something up on demand.

Open up your terminal and fire up a python server!

python -m SimpleHTTPServer

This will server up the directory from which it’s run at http://localhost:8000.

Read more about it here.

Leave a Reply

Your email address will not be published. Required fields are marked *