3 ms·
To view the generated site you can run the command python -m SimpleHTTPServer inside the public directory. I'm confused: you're starting a python server (addi
by sequoia 15y ago
To view the generated site you can run the command python -m SimpleHTTPServer inside the public directory.
I'm confused: you're starting a python server (adding a python dependency to your instructions) to serve static files? Just open the file. Am I missing something?
- prezjordan 15y agoTo make it visible on the web.
- laktek 15y agoIt's just a convenience (and most *nix Systems comes with Python). You can open the generated file in browser by giving only the file path (but then stuff such as AJAX won't work).