Last Updated: February 25, 2016
·
392
· nwidart

Setup quick webserver

Want to quickly make a local server in a particular folder? Simply navigate to the directory (cd path/to/dir) and type this command:

python -m SimpleHTTPServer 

Your folder can now be accessed via localhost on port 8000.