notes_webserver_localhost_blockscad 334 B

1234567891011121314
  1. So if you have your html file myfile.html in a folder, say mydir, all you have to do is:
  2. cd /path/to/mydir-with-index.html-in-it
  3. python -m SimpleHTTPServer 9000
  4. if you have node.js installed, an ever better server is:
  5. cd /path/to/mydir-with-index.html-in-it
  6. http-server -p 9000
  7. Then point your browser to:
  8. http://localhost:9000/