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
Read more about it here.