Wednesday, October 8, 2014

Start a Simple Web Server from Any Director

If you haven't installed Python yet, do it right away. This thing requires Python and it's available as a module inside Python.

Navigate to the directory using your terminal window where you want the web server to start and issue the following command:

$ python -m SimpleHTTPServer 8080

It will start the web server right away.

Open web browser and goto:
http://localhost:8080

Enjoy :)