OT: A very convenient HTTP server for testing


#1

If you do not have python installed, install python.
Then:

  1. Open a CMD prompt.
  2. Navigate to the folder from which you wish to make the root folder.
  3. Execute: (your python install folder)\python -m http.server

Now you are serving up your folder well enough for basic testing. It defaults to port 8000.

In my case, I was trying to avoid butting into the CORS security stuff when working with html5 canvas while developing locally.

https://docs.python.org/3.7/library/http.server.html?


#2

I use Web Server for Chrome extension:


#3

Interesting. Thanks.