How to setup a local testing server
These commands serve the directory where started. In this case, an index.html will be shown in the browser under the provided url from the command:
# If Python version returned above is 3.X
python3 -m http.server
# On windows try "python" instead of "python3"
# If Python version returned above is 2.X
python -m SimpleHTTPServer
Source: