Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>D3 Drawing</title> | |
<script src="https://cdn.jsdelivr.net/d3js/3.5.9/d3.min.js"></script> | |
</head> | |
<body> | |
<h3>Draw a polygon :D</h3> | |
<script> |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000