|
Boost : |
Subject: Re: [boost] [review] Review of Outcome v2 (Fri-19-Jan to Sun-28-Jan, 2018)
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2018-01-23 22:55:59
>> 1. No server side extensions are needed. It's a static website.
>>
>
> So, why exactly can't you generate static html?
Most web browsers don't render modern static websites with AJAX,
accessibility, mobile rendering, semantic search etc from file:// for
security reasons. The problem is in the web browser, not in the site.
If you're super adverse to running Hugo, the Python 2 program below will
serve a static website onto localhost for you. Taken from
https://docs.python.org/2/library/simplehttpserver.html:
```
import SimpleHTTPServer
import SocketServer
PORT = 8000
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()
```
Start using:
python -m SimpleHTTPServer 8000
Niall
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk