python -m SimpleHTTPServer 8080
Note: The port number doesn't have to be 8080.
http://localhost:8080
You are now running a server locally on port 8080.
If you have a file named index.html in your project directory, it should load by default.
To open other pages on your site, append their path relative to the project directory to the URL, like http://localhost:8080/otherpage.html.