Running a local web server on MacBook

Solution 1:

Most of the stuff you need is already installed by default, or can be added easily. There is a lot of material on the web about how to do this, this article seems to cover the basics.

Solution 2:

If you just want something very quick, the OSXDaily article Create an Instant Web Server via Terminal Command Line explains how to do this on the command line using Python. Its pretty much just using the command:

python -m SimpleHTTPServer